summaryrefslogtreecommitdiff
path: root/src/char/geoip.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/char/geoip.h')
-rw-r--r--src/char/geoip.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/char/geoip.h b/src/char/geoip.h
index c83d886b5..8cad2f73b 100644
--- a/src/char/geoip.h
+++ b/src/char/geoip.h
@@ -11,19 +11,19 @@
* GeoIP information
**/
struct s_geoip {
- unsigned char *cache; // GeoIP.dat information see geoip->init()
- bool active;
+ unsigned char *cache; // GeoIP.dat information see geoip->init()
+ bool active;
};
/**
* geoip interface
**/
struct geoip_interface {
- struct s_geoip *data;
- const char* (*getcountry) (uint32 ipnum);
- void (*final) (bool shutdown);
- void (*init) (void);
-} geoip_s;
+ struct s_geoip *data;
+ const char* (*getcountry) (uint32 ipnum);
+ void (*final) (bool shutdown);
+ void (*init) (void);
+};
struct geoip_interface *geoip;