From 99817beb31b38209ac5ea8c2ff0642832a030602 Mon Sep 17 00:00:00 2001 From: Timo Smit Date: Sat, 21 Jan 2017 17:28:02 +0100 Subject: [PATCH] Fixed missing dependency --- luamods/wolfadmin/commands/client/say.lua | 2 ++ luamods/wolfadmin/commands/server/acl.lua | 2 ++ 2 files changed, 4 insertions(+) diff --git a/luamods/wolfadmin/commands/client/say.lua b/luamods/wolfadmin/commands/client/say.lua index a93ee15..5c50cba 100644 --- a/luamods/wolfadmin/commands/client/say.lua +++ b/luamods/wolfadmin/commands/client/say.lua @@ -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\"") diff --git a/luamods/wolfadmin/commands/server/acl.lua b/luamods/wolfadmin/commands/server/acl.lua index f38b286..f34ad81 100644 --- a/luamods/wolfadmin/commands/server/acl.lua +++ b/luamods/wolfadmin/commands/server/acl.lua @@ -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")