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

@ -110,12 +110,8 @@ public client_authorized(id)
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 */ server_cmd("kick #%d ^"%s^"", userid, reason)
if (!userid) return PLUGIN_CONTINUE
{
server_cmd("kick #%d ^"%s^"", userid, reason)
return PLUGIN_CONTINUE
}
} }
return PLUGIN_CONTINUE return PLUGIN_CONTINUE