diff options
-rw-r--r-- | doc/user-guide/commands.xml | 6 | ||||
-rw-r--r-- | 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 @@ <description> <para> - 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 <emphasis>chat add</emphasis>, 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 <emphasis>chat add</emphasis> by using the number in the index column after a "!" as a shortcut. + </para> + + <para> + The server parameter is optional and currently only used by jabber. </para> </description> 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", |