Fixed missing include

This commit is contained in:
Timo Smit 2016-09-07 20:07:52 +02:00
parent c272eb67fe
commit f5bd2d0f23
2 changed files with 3 additions and 0 deletions

View file

@ -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

View file

@ -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"].."\";")