aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordequis <dx@dxzone.com.ar>2016-12-27 03:53:22 -0300
committerdequis <dx@dxzone.com.ar>2016-12-27 03:53:22 -0300
commit398b3198a0f02a4c448bd9c04a0349ba2606e6a7 (patch)
tree94a710d8c5c33cd1578f06164e64a16fc6563373
parentc11b68a20061dcc262f0cf34ab863afbf3c7adb4 (diff)
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.
-rw-r--r--doc/user-guide/commands.xml6
-rw-r--r--root_commands.c4
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",