Also print the command that wasn't recognized.

This commit is contained in:
Arnavion 2015-01-07 13:42:42 -08:00
parent 5ca87b3c8d
commit 99f74e8d94
1 changed files with 2 additions and 2 deletions

View File

@ -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);
}
}