mirror of
https://github.com/etlegacy/wolfadmin.git
synced 2025-02-16 17:01:48 +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
|
end
|
||||||
|
|
||||||
for playerId = 0, et.trap_Cvar_Get("sv_maxclients") - 1 do
|
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)
|
table.insert(recipients, playerId)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue