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

Comparing ircd-hybrid/trunk/src/ircd.c (file contents):
Revision 1831 by michael, Mon Apr 15 10:57:05 2013 UTC vs.
Revision 1858 by michael, Thu Apr 25 15:00:52 2013 UTC

# Line 62 | Line 62
62   #include "conf_db.h"
63   #include "conf_class.h"
64  
65 +
66 + #ifdef HAVE_LIBGEOIP
67 + GeoIP *geoip_ctx;
68 + #endif
69   /* /quote set variables */
70   struct SetOptions GlobalSetOptions;
71  
# Line 559 | Line 563 | main(int argc, char *argv[])
563    initialize_server_capabs();   /* Set up default_server_capabs */
564    initialize_global_set_options();
565    channel_init();
566 + #ifdef HAVE_LIBGEOIP
567 +  geoip_ctx = GeoIP_new(GEOIP_MEMORY_CACHE);
568 + #endif
569  
570    if (EmptyString(ServerInfo.sid))
571    {

Diff Legend

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