fixed bug at26340 (NiLuJe)
This commit is contained in:
parent
2e0dcb860a
commit
880cb401fb
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue
Block a user