mirror of
https://github.com/moparisthebest/hexchat
synced 2024-11-28 20:22:15 -05:00
Also print the command that wasn't recognized.
This commit is contained in:
parent
5ca87b3c8d
commit
99f74e8d94
@ -4749,13 +4749,13 @@ handle_command (session *sess, char *cmd, int check_spch)
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
/* unknown command, just send it to the server and hope */
|
|
||||||
if (!sess->server->connected)
|
if (!sess->server->connected)
|
||||||
{
|
{
|
||||||
PrintText (sess, _("Unknown Command. Try /help\n"));
|
PrintTextf (sess, _("Unknown Command %s. Try /help\n"), word[1]);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
/* unknown command, just send it to the server and hope */
|
||||||
sess->server->p_raw (sess->server, cmd);
|
sess->server->p_raw (sess->server, cmd);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user