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 players = require (wolfa_getLuaPath()..".players.players")
|
||||||
|
|
||||||
|
local settings = require (wolfa_getLuaPath()..".util.settings")
|
||||||
|
|
||||||
function commandSay(clientId, cmdArguments)
|
function commandSay(clientId, cmdArguments)
|
||||||
if players.isMuted(clientId, players.MUTE_CHAT) then
|
if players.isMuted(clientId, players.MUTE_CHAT) then
|
||||||
et.trap_SendServerCommand(clientId, "cp \"^1You are muted\"")
|
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 commands = require (wolfa_getLuaPath()..".commands.commands")
|
||||||
|
|
||||||
|
local settings = require (wolfa_getLuaPath()..".util.settings")
|
||||||
|
|
||||||
function commandAclListLevels(cmdArguments)
|
function commandAclListLevels(cmdArguments)
|
||||||
for _, level in ipairs(acl.getLevels()) do
|
for _, level in ipairs(acl.getLevels()) do
|
||||||
et.G_Print(string.format("%5d %30s %6d players", level["id"], level["name"], level["players"]).."\n")
|
et.G_Print(string.format("%5d %30s %6d players", level["id"], level["name"], level["players"]).."\n")
|
||||||
|
|
Loading…
Reference in a new issue