AFKManager: ignore fakeclients
This commit is contained in:
parent
c9726ffee4
commit
7c18d0ce43
@ -428,11 +428,11 @@ public int Native_GetClientIdleTime(Handle plugin, int numParams)
|
|||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
|
|
||||||
if(IsFakeClient(client))
|
/*if(IsFakeClient(client))
|
||||||
{
|
{
|
||||||
ThrowNativeError(SP_ERROR_NATIVE, "Client is fake-client.");
|
ThrowNativeError(SP_ERROR_NATIVE, "Client is fake-client.");
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}*/
|
||||||
|
|
||||||
if(!g_Players_bEnabled[client])
|
if(!g_Players_bEnabled[client])
|
||||||
return 0;
|
return 0;
|
||||||
|
Loading…
Reference in New Issue
Block a user