ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/svn/ircd-hybrid/trunk/src/conf_resv.c
(Generate patch)

Comparing ircd-hybrid/trunk/src/resv.c (file contents):
Revision 1871 by michael, Thu Apr 25 15:19:00 2013 UTC vs.
Revision 1872 by michael, Fri Apr 26 21:09:13 2013 UTC

# Line 85 | Line 85 | create_resv(const char *name, const char
85  
86        if (strlen(s) == 2 && IsAlpha(*(s + 1) && IsAlpha(*(s + 2))))
87        {
88 + #ifdef HAVE_LIBGEOIP
89          exptr = MyMalloc(sizeof(*exptr));
90          exptr->name = xstrdup(s);
91          exptr->coid = GeoIP_id_by_code(s);
92          dlinkAdd(exptr, &exptr->node, &conf->exempt_list);
93 + #endif
94        }
95        else
96        {

Diff Legend

Removed lines
+ Added lines
< Changed lines (old)
> Changed lines (new)