mirror of
https://github.com/etlegacy/wolfadmin.git
synced 2024-11-22 04:12:19 +00:00
Fixed missing dependency
This commit is contained in:
parent
9fdd36e772
commit
99817beb31
2 changed files with 4 additions and 0 deletions
|
@ -19,6 +19,8 @@ local commands = require (wolfa_getLuaPath()..".commands.commands")
|
|||
|
||||
local players = require (wolfa_getLuaPath()..".players.players")
|
||||
|
||||
local settings = require (wolfa_getLuaPath()..".util.settings")
|
||||
|
||||
function commandSay(clientId, cmdArguments)
|
||||
if players.isMuted(clientId, players.MUTE_CHAT) then
|
||||
et.trap_SendServerCommand(clientId, "cp \"^1You are muted\"")
|
||||
|
|
|
@ -19,6 +19,8 @@ local acl = require (wolfa_getLuaPath()..".auth.acl")
|
|||
|
||||
local commands = require (wolfa_getLuaPath()..".commands.commands")
|
||||
|
||||
local settings = require (wolfa_getLuaPath()..".util.settings")
|
||||
|
||||
function commandAclListLevels(cmdArguments)
|
||||
for _, level in ipairs(acl.getLevels()) do
|
||||
et.G_Print(string.format("%5d %30s %6d players", level["id"], level["name"], level["players"]).."\n")
|
||||
|
|
Loading…
Reference in a new issue