Geoip: Module should clear memory at mapchange.
This commit is contained in:
parent
94552e5503
commit
6916eb8613
@ -11,8 +11,7 @@
|
||||
// GeoIP Module
|
||||
//
|
||||
|
||||
#include <stdio.h>
|
||||
#include "geoip_amxx.h"
|
||||
#include "geoip_amxx.h"
|
||||
|
||||
GeoIP *gi = NULL;
|
||||
|
||||
@ -113,3 +112,4 @@ AMX_NATIVE_INFO geoip_natives[] = {
|
||||
{"geoip_country", amx_geoip_country},
|
||||
{NULL, NULL},
|
||||
};
|
||||
|
||||
|
@ -29,7 +29,7 @@
|
||||
#define MODULE_LIBRARY "geoip"
|
||||
#define MODULE_LIBCLASS ""
|
||||
// If you want the module not to be reloaded on mapchange, remove / comment out the next line
|
||||
//#define MODULE_RELOAD_ON_MAPCHANGE
|
||||
#define MODULE_RELOAD_ON_MAPCHANGE
|
||||
|
||||
#ifdef __DATE__
|
||||
#define MODULE_DATE __DATE__
|
||||
@ -38,7 +38,7 @@
|
||||
#endif // __DATE__
|
||||
|
||||
// metamod plugin?
|
||||
//#define USE_METAMOD
|
||||
#define USE_METAMOD
|
||||
|
||||
// use memory manager/tester?
|
||||
// note that if you use this, you cannot construct/allocate
|
||||
|
Loading…
Reference in New Issue
Block a user