mirror of
https://github.com/ZoiteChat/zoitechat.git
synced 2026-10-27 14:05:38 +00:00
Also print the command that wasn't recognized.
This commit is contained in:
1 parent
5ca87b3c8d
commit
99f74e8d94
1 file changed
+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);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user