fixed bug at26340 (NiLuJe)
This commit is contained in:
parent
2e0dcb860a
commit
880cb401fb
|
@ -109,14 +109,10 @@ public client_authorized(id)
|
||||||
/* Check if player took a reserved slot on a full
|
/* Check if player took a reserved slot on a full
|
||||||
server and kick if they have no slot reservation */
|
server and kick if they have no slot reservation */
|
||||||
if ((players > gPlayerLimit) && (!access(id, ADMIN_RESERVATION)))
|
if ((players > gPlayerLimit) && (!access(id, ADMIN_RESERVATION)))
|
||||||
{
|
|
||||||
/* In case player disconnected */
|
|
||||||
if (!userid)
|
|
||||||
{
|
{
|
||||||
server_cmd("kick #%d ^"%s^"", userid, reason)
|
server_cmd("kick #%d ^"%s^"", userid, reason)
|
||||||
return PLUGIN_CONTINUE
|
return PLUGIN_CONTINUE
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
return PLUGIN_CONTINUE
|
return PLUGIN_CONTINUE
|
||||||
}
|
}
|
Loading…
Reference in New Issue
Block a user