Fix a compatibility issue with geoip_country native

This commit is contained in:
Arkshine 2015-02-06 23:25:26 +01:00
parent 21edabf07f
commit 51adb7385c

View File

@ -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;
} }