diff --git a/luascripts/util/debug.lua b/luascripts/util/debug.lua index 8885f65..0c03e03 100644 --- a/luascripts/util/debug.lua +++ b/luascripts/util/debug.lua @@ -36,9 +36,9 @@ 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 end -end \ No newline at end of file +end