mirror of
https://github.com/etlegacy/wolfadmin.git
synced 2024-11-10 06:41:53 +00:00
Fixed !showhistory still trying to show an old syntax
This commit is contained in:
parent
2d145254fe
commit
7b70c7e7e8
1 changed files with 1 additions and 1 deletions
|
@ -35,7 +35,7 @@ function commandListHistory(clientId, command, victim, offset)
|
|||
|
||||
return true
|
||||
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
|
||||
elseif tonumber(victim) == nil or tonumber(victim) < 0 or tonumber(victim) > tonumber(et.trap_Cvar_Get("sv_maxclients")) then
|
||||
|
|
Loading…
Reference in a new issue