diff options
author | michael <michael@82007160-df01-0410-b94d-b575c5fd34c7> | 2013-04-26 21:31:04 +0000 |
---|---|---|
committer | michael <michael@82007160-df01-0410-b94d-b575c5fd34c7> | 2013-04-26 21:31:04 +0000 |
commit | f11450045c0e509356ecf010e81848cc77a8d817 (patch) | |
tree | e2b8e5b5b47311b620a8e3c059430b6143b40111 /src | |
parent | 06e92f869c5256bd2a1f7e3f631a65c66936a053 (diff) |
- Backported -r1872 [Fixed broken compile with libGeoIP disabled ]
git-svn-id: svn://svn.ircd-hybrid.org/svnroot/ircd-hybrid/branches/8.1.x@1873 82007160-df01-0410-b94d-b575c5fd34c7
Diffstat (limited to 'src')
-rw-r--r-- | src/resv.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -85,10 +85,12 @@ create_resv(const char *name, const char *reason, const dlink_list *list) if (strlen(s) == 2 && IsAlpha(*(s + 1) && IsAlpha(*(s + 2)))) { +#ifdef HAVE_LIBGEOIP exptr = MyMalloc(sizeof(*exptr)); exptr->name = xstrdup(s); exptr->coid = GeoIP_id_by_code(s); dlinkAdd(exptr, &exptr->node, &conf->exempt_list); +#endif } else { |