mirror of
https://github.com/alliedmodders/amxmodx.git
synced 2024-12-25 06:15:37 +03:00
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 */
|
||||
if ((players > gPlayerLimit) && (!access(id, ADMIN_RESERVATION)))
|
||||
{
|
||||
/* In case player disconnected */
|
||||
if (!userid)
|
||||
{
|
||||
server_cmd("kick #%d ^"%s^"", userid, reason)
|
||||
return PLUGIN_CONTINUE
|
||||
}
|
||||
server_cmd("kick #%d ^"%s^"", userid, reason)
|
||||
return PLUGIN_CONTINUE
|
||||
}
|
||||
|
||||
return PLUGIN_CONTINUE
|
||||
|
Loading…
Reference in New Issue
Block a user