| # | 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 | { | |
| – | Removed lines |
| + | Added lines |
| < | Changed lines (old) |
| > | Changed lines (new) |