mirror of
https://github.com/etlegacy/wolfadmin.git
synced 2024-11-10 06:41:53 +00:00
Fixed admin chat not working
This commit is contained in:
parent
1ca7070646
commit
75a19dfcc2
1 changed files with 1 additions and 1 deletions
|
@ -33,7 +33,7 @@ function commandAdminChat(clientId, cmdArguments)
|
|||
end
|
||||
|
||||
for playerId = 0, et.trap_Cvar_Get("sv_maxclients") - 1 do
|
||||
if players.isConnected(playerId) and auth.isPlayerAllowed(playerId, "~") then
|
||||
if players.isConnected(playerId) and auth.isPlayerAllowed(playerId, auth.PERM_ADMINCHAT) then
|
||||
table.insert(recipients, playerId)
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue