AdvancedTargeting: blame da fakes
This commit is contained in:
parent
409d4d5c5d
commit
ea02d595f1
@ -605,12 +605,6 @@ public int Native_IsClientFriend(Handle plugin, int numParams)
|
|||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
|
|
||||||
if(IsFakeClient(client) || IsFakeClient(friend))
|
|
||||||
{
|
|
||||||
ThrowNativeError(SP_ERROR_NATIVE, "Client is fake-client.");
|
|
||||||
return -1;
|
|
||||||
}
|
|
||||||
|
|
||||||
if(g_FriendsArray[client] == INVALID_HANDLE)
|
if(g_FriendsArray[client] == INVALID_HANDLE)
|
||||||
return -1;
|
return -1;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user