mirror of
https://github.com/shavitush/bhoptimer.git
synced 2025-12-06 18:08:26 +00:00
Fixed shavit_chat_customchat 0 not being respected.
This commit is contained in:
parent
90c12340ce
commit
045fbb03fe
@ -341,7 +341,7 @@ public void OnClientPutInServer(int client)
|
||||
|
||||
public void OnClientPostAdminCheck(int client)
|
||||
{
|
||||
gB_AllowCustom[client] = (CheckCommandAccess(client, "shavit_chat", ADMFLAG_CHAT) || gI_CustomChat == 2);
|
||||
gB_AllowCustom[client] = gI_CustomChat > 0 && (CheckCommandAccess(client, "shavit_chat", ADMFLAG_CHAT) || gI_CustomChat == 2);
|
||||
|
||||
if(gH_SQL != null)
|
||||
{
|
||||
|
||||
Loading…
Reference in New Issue
Block a user