summaryrefslogtreecommitdiff
path: root/src/irc
diff options
context:
space:
mode:
authorTimo Sirainen <cras@irssi.org>2000-06-28 17:15:37 +0000
committercras <cras@dbcabf3a-b0e7-0310-adc4-f8d773084564>2000-06-28 17:15:37 +0000
commit7e531cec7a80a3bc6cecb844d66ae5127f7e7a94 (patch)
tree2e2452b4fbec35a8a34e0b7364544c43d71bcd83 /src/irc
parentdd7ce4af23a0bb68a8c735c7e9a4c0d9c50ae08b (diff)
downloadirssi-7e531cec7a80a3bc6cecb844d66ae5127f7e7a94.zip
Automatic command completion and a few other fixes.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@387 dbcabf3a-b0e7-0310-adc4-f8d773084564
Diffstat (limited to 'src/irc')
-rw-r--r--src/irc/core/irc-commands.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/irc/core/irc-commands.c b/src/irc/core/irc-commands.c
index 6d7626de..fb4e338b 100644
--- a/src/irc/core/irc-commands.c
+++ b/src/irc/core/irc-commands.c
@@ -463,7 +463,7 @@ static void cmd_who(const char *data, IRC_SERVER_REC *server, WI_IRC_REC *item)
if (strcmp(channel, "*") == 0 || *channel == '\0') {
if (!irc_item_channel(item))
- cmd_return_error(CMDERR_NOT_JOINED);
+ cmd_param_error(CMDERR_NOT_JOINED);
channel = item->name;
}