Also print the command that wasn't recognized.
这个提交存在于:
父节点
5ca87b3c8d
当前提交
99f74e8d94
共有 1 个文件被更改,包括 2 次插入 和 2 次删除
|
|
@ -4749,13 +4749,13 @@ handle_command (session *sess, char *cmd, int check_spch)
|
|||
}
|
||||
else
|
||||
{
|
||||
/* unknown command, just send it to the server and hope */
|
||||
if (!sess->server->connected)
|
||||
{
|
||||
PrintText (sess, _("Unknown Command. Try /help\n"));
|
||||
PrintTextf (sess, _("Unknown Command %s. Try /help\n"), word[1]);
|
||||
}
|
||||
else
|
||||
{
|
||||
/* unknown command, just send it to the server and hope */
|
||||
sess->server->p_raw (sess->server, cmd);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
正在加载…
添加表格
在新工单中引用