diff options
author | Timo Sirainen <cras@irssi.org> | 2001-11-25 21:59:49 +0000 |
---|---|---|
committer | cras <cras@dbcabf3a-b0e7-0310-adc4-f8d773084564> | 2001-11-25 21:59:49 +0000 |
commit | 241fc61d233480802cdad8fd2665887788436953 (patch) | |
tree | f3972b7075f05b043baf9065c4252eff21fd94a8 /src/irc | |
parent | 53bdd8f602bc24a90dd7033ffa29923d966f9b27 (diff) | |
download | irssi-241fc61d233480802cdad8fd2665887788436953.zip |
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
Diffstat (limited to 'src/irc')
-rw-r--r-- | src/irc/core/channels-query.c | 6 |
1 files 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; |