aboutsummaryrefslogtreecommitdiffstats
path: root/root_commands.c
diff options
context:
space:
mode:
authorMarius Halden <marius.h@lden.org>2016-12-27 14:13:51 +0100
committerMarius Halden <marius.h@lden.org>2016-12-27 14:13:51 +0100
commitd35affbcea87f453fb20c4bb545a10b668eae81b (patch)
treea6856cc15f6ba10c79d737a61e2773cba12bf558 /root_commands.c
parent184c46d3507a0ff9fc68a4409f690add96cd183d (diff)
parent9cdcef077ed523966f508a3721944a16425734cb (diff)
Merge branch 'master' into patched-master
Diffstat (limited to 'root_commands.c')
-rw-r--r--root_commands.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/root_commands.c b/root_commands.c
index edc17855..9ffd3818 100644
--- a/root_commands.c
+++ b/root_commands.c
@@ -1425,9 +1425,7 @@ static void cmd_chat(irc_t *irc, char **cmd)
}
} else if (g_strcasecmp(cmd[1], "set") == 0 ||
g_strcasecmp(cmd[1], "del") == 0) {
- irc_rootmsg(irc,
- "Warning: The \002chat\002 command was mostly replaced with the \002channel\002 command.");
- cmd_channel(irc, cmd);
+ irc_rootmsg(irc, "Unknown command: chat %s. Did you mean \002channel %s\002?", cmd[1], cmd[1]);
} else {
irc_rootmsg(irc,
"Unknown command: %s %s. Please use \x02help commands\x02 to get a list of available commands.", "chat",