Fix a compatibility issue with geoip_country native
This commit is contained in:
parent
21edabf07f
commit
51adb7385c
|
@ -117,6 +117,7 @@ static cell AMX_NATIVE_CALL amx_geoip_country(AMX *amx, cell *params)
|
|||
|
||||
if (!country)
|
||||
{
|
||||
MF_SetAmxString(amx, params[2], "error", params[3]); // to keep compatibility with previous version
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user