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.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/char/geoip.h b/src/char/geoip.h
index a7ab6b9a4..5a6abf68a 100644
--- a/src/char/geoip.h
+++ b/src/char/geoip.h
@@ -5,7 +5,7 @@
#ifndef CHAR_GEOIP_H
#define CHAR_GEOIP_H
-#include "../common/cbasetypes.h"
+#include "common/hercules.h"
/**
* GeoIP information
@@ -15,6 +15,7 @@ struct s_geoip {
bool active;
};
+
/**
* geoip interface
**/
@@ -25,10 +26,10 @@ struct geoip_interface {
void (*init) (void);
};
-struct geoip_interface *geoip;
-
#ifdef HERCULES_CORE
void geoip_defaults(void);
#endif // HERCULES_CORE
+HPShared struct geoip_interface *geoip;
+
#endif /* CHAR_GEOIP_H */