Skip to content

Commit

Permalink
Fixed admin chat not working
Browse files Browse the repository at this point in the history
  • Loading branch information
Timo Smit committed Jan 21, 2017
1 parent 1ca7070 commit 75a19df
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion luamods/wolfadmin/commands/client/ac.lua
Expand Up @@ -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
Expand Down

0 comments on commit 75a19df

Please sign in to comment.