Fixed !showhistory still trying to show an old syntax

This commit is contained in:
Timo Smit 2019-01-20 20:57:52 +01:00
parent 2d145254fe
commit 7b70c7e7e8

View file

@ -35,7 +35,7 @@ function commandListHistory(clientId, command, victim, offset)
return true return true
elseif victim == nil then elseif victim == nil then
et.trap_SendConsoleCommand(et.EXEC_APPEND, "csay "..clientId.." \"^dshowhistory usage: "..commands.getadmin("showwarns")["syntax"].."\";") et.trap_SendConsoleCommand(et.EXEC_APPEND, "csay "..clientId.." \"^dshowhistory usage: "..commands.getadmin("showhistory")["syntax"].."\";")
return true return true
elseif tonumber(victim) == nil or tonumber(victim) < 0 or tonumber(victim) > tonumber(et.trap_Cvar_Get("sv_maxclients")) then elseif tonumber(victim) == nil or tonumber(victim) < 0 or tonumber(victim) > tonumber(et.trap_Cvar_Get("sv_maxclients")) then