mirror of
https://github.com/alliedmodders/amxmodx.git
synced 2024-12-26 06:45:37 +03:00
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)
|
if (!country)
|
||||||
{
|
{
|
||||||
|
MF_SetAmxString(amx, params[2], "error", params[3]); // to keep compatibility with previous version
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user