From 99f74e8d9480e804ebe4c9a08885a81286954114 Mon Sep 17 00:00:00 2001 From: Arnavion Date: Wed, 7 Jan 2015 13:42:42 -0800 Subject: Also print the command that wasn't recognized. --- src/common/outbound.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/common/outbound.c b/src/common/outbound.c index fab573e4..0e63f899 100644 --- a/src/common/outbound.c +++ b/src/common/outbound.c @@ -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); } } -- cgit 1.4.1