1
0
mirror of https://github.com/unrealircd/unrealircd.git synced 2026-07-07 08:03:12 +02:00

Add geoip_base module, which sets "geo_country" if a geo provider

module is able to lookup the IP and return a country.

Also consistently use geoip_ and GEOIP_ prefixes.
This commit is contained in:
Bram Matthys
2021-08-17 15:24:25 +02:00
parent 0bbad85f84
commit 2ea75dfbdb
7 changed files with 111 additions and 11 deletions
+1 -1
View File
@@ -2272,7 +2272,7 @@ _UNREAL_ERROR(_hook_error_incompatible, "Incompatible hook function. Check argum
#define CALLBACKTYPE_CLOAK_EX 3
#define CALLBACKTYPE_BLACKLIST_CHECK 4
#define CALLBACKTYPE_REPUTATION_STARTTIME 5
#define CALLBACKTYPE_GEO_LOOKUP 6
#define CALLBACKTYPE_GEOIP_LOOKUP 6
/* To add a new efunction, only if you are an UnrealIRCd coder:
* 1) Add a new entry here