From 241fc61d233480802cdad8fd2665887788436953 Mon Sep 17 00:00:00 2001 From: Timo Sirainen Date: Sun, 25 Nov 2001 21:59:49 +0000 Subject: [PATCH] added support for servers where /WHO only gives "end of who" message. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2153 dbcabf3a-b0e7-0310-adc4-f8d773084564 --- src/irc/core/channels-query.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/irc/core/channels-query.c b/src/irc/core/channels-query.c index aa4130ed..bbb7eb8b 100644 --- a/src/irc/core/channels-query.c +++ b/src/irc/core/channels-query.c @@ -457,8 +457,10 @@ static void event_end_of_who(IRC_SERVER_REC *server, const char *data) IRC_CHANNEL_REC *chanrec = tmp->data; next = tmp->next; - if (chanrec->ownnick->host == NULL) { - /* we should receive our own host for each channel */ + if (chanrec->ownnick->host == NULL && !server->one_endofwho) { + /* we should receive our own host for each channel. + However, some servers really are stupid enough + not to reply anything to /WHO requests.. */ failed = TRUE; } else { chanrec->wholist = TRUE;