diff --git a/luascripts/commands/admin/mute.lua b/luascripts/commands/admin/mute.lua index c5e978a..168f19d 100644 --- a/luascripts/commands/admin/mute.lua +++ b/luascripts/commands/admin/mute.lua @@ -22,6 +22,7 @@ local commands = require "luascripts.wolfadmin.commands.commands" local players = require "luascripts.wolfadmin.players.players" local util = require "luascripts.wolfadmin.util.util" +local settings = require "luascripts.wolfadmin.util.settings" function commandMute(clientId, cmdArguments) if cmdArguments[1] == nil then diff --git a/luascripts/commands/admin/unmute.lua b/luascripts/commands/admin/unmute.lua index 3dfd06f..3a8e600 100644 --- a/luascripts/commands/admin/unmute.lua +++ b/luascripts/commands/admin/unmute.lua @@ -21,6 +21,8 @@ local commands = require "luascripts.wolfadmin.commands.commands" local players = require "luascripts.wolfadmin.players.players" +local settings = require "luascripts.wolfadmin.util.settings" + function commandUnmute(clientId, cmdArguments) if cmdArguments[1] == nil then et.trap_SendConsoleCommand(et.EXEC_APPEND, "csay "..clientId.." \"^dunmute usage: "..commands.getadmin("unmute")["syntax"].."\";")