mirror of
https://github.com/etlegacy/wolfadmin.git
synced 2025-04-25 02:20:58 +00:00
Removed permission for debug output
Debug output is already controlled via a CVAR and including the 'auth' module would create more dependencies in debug.lua (unwanted)
This commit is contained in:
parent
0aa330ad1b
commit
e33b9480c9
1 changed files with 2 additions and 2 deletions
|
@ -36,7 +36,7 @@ function outputDebug(msg, severity)
|
|||
et.G_Print("[WolfAdmin] "..msg.."\n")
|
||||
|
||||
for playerId = 0, et.trap_Cvar_Get("sv_maxclients") - 1 do
|
||||
if settings.get("g_debugWolfAdmin") ~= 0 and et.G_shrubbot_permission(playerId, "*") then
|
||||
if settings.get("g_debugWolfAdmin") ~= 0 then
|
||||
et.trap_SendConsoleCommand(et.EXEC_APPEND, "csay "..playerId.." \"^:[WolfAdmin DEBUG] "..SEVERITY_LEVELS[severity]..msg.."\";")
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue