From 398b3198a0f02a4c448bd9c04a0349ba2606e6a7 Mon Sep 17 00:00:00 2001 From: dequis Date: Tue, 27 Dec 2016 03:53:22 -0300 Subject: Doc tweaks for chat list, and stop suggesting 'chat' is deprecated There's a functionality change buried here, but it's one that people shouldn't be using anyway. --- doc/user-guide/commands.xml | 6 +++++- root_commands.c | 4 +--- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/doc/user-guide/commands.xml b/doc/user-guide/commands.xml index 7190f024..91e02ff2 100644 --- a/doc/user-guide/commands.xml +++ b/doc/user-guide/commands.xml @@ -276,7 +276,11 @@ - List existing chatrooms provided by an account. BitlBee needs this to propogate an internal list of chats. The existing chat can then be added with chat add, using the number in the index column after a "!" as a shortcut. + List existing named chatrooms provided by an account. Chats from this list can be referenced from chat add by using the number in the index column after a "!" as a shortcut. + + + + The server parameter is optional and currently only used by jabber. diff --git a/root_commands.c b/root_commands.c index 0ea380af..4ad78119 100644 --- a/root_commands.c +++ b/root_commands.c @@ -1381,9 +1381,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", -- cgit v1.2.3