AdminGroups: Woopsie
Quickie fixie
This commit is contained in:
parent
b5ec8e2f62
commit
a7207969ec
@ -308,7 +308,7 @@ public int Native_RevokeAdminGroup(Handle hPlugin, int numParams)
|
||||
}
|
||||
|
||||
int clientGroupIndex;
|
||||
if ((clientGroupIndex = G_hArray_ClientGroups[client].FindString(group)) != -1)
|
||||
if ((clientGroupIndex = G_hArray_ClientGroups[client].FindString(group)) == -1)
|
||||
{
|
||||
ThrowNativeError(SP_ERROR_NATIVE, "Client doesnt have group. (%s) [%d]", group, clientGroupIndex);
|
||||
return;
|
||||
|
Loading…
Reference in New Issue
Block a user