fixed bug at26340 (NiLuJe)

This commit is contained in:
David Anderson 2006-03-13 14:35:26 +00:00
parent 2e0dcb860a
commit 880cb401fb

View File

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