summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorTimo Sirainen <cras@irssi.org>2001-11-15 16:18:11 +0000
committercras <cras@dbcabf3a-b0e7-0310-adc4-f8d773084564>2001-11-15 16:18:11 +0000
commita110b05a0c7f2b194c05ac20fef0d54f80a40d69 (patch)
treec64ceb0ae12f4640d0cb754d35496fb76599f852 /src
parentd42f55b95cb41e1dc8cc03a3b0148192e22bf182 (diff)
downloadirssi-a110b05a0c7f2b194c05ac20fef0d54f80a40d69.zip
/WHOIS nick_who_was_in_irc showed only the first and last lines of /WHOWAS.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2018 dbcabf3a-b0e7-0310-adc4-f8d773084564
Diffstat (limited to 'src')
-rw-r--r--src/irc/core/irc-commands.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/irc/core/irc-commands.c b/src/irc/core/irc-commands.c
index 84c0d095..a7622fd6 100644
--- a/src/irc/core/irc-commands.c
+++ b/src/irc/core/irc-commands.c
@@ -384,7 +384,7 @@ static void cmd_whois(const char *data, IRC_SERVER_REC *server,
query = get_redirect_nicklist(query, &free_nick);
str = g_strconcat(qserver, " ", query, NULL);
- server_redirect_event(server, "whois", 1, str, *qserver != '\0',
+ server_redirect_event(server, "whois", 1, str, TRUE,
NULL,
"event 318", "event 318",
"event 402", event_402,
@@ -418,7 +418,7 @@ static void sig_whois_not_found(IRC_SERVER_REC *server, const char *data)
server_redirect_event(server, "whowas", 1, nick, -1, NULL,
"event 314", "whowas event",
"event 369", "whowas event end",
- "", "event empty", NULL);
+ "event 406", "event empty", NULL);
irc_send_cmdv(server, "WHOWAS %s 1", nick);
g_free(params);