1
0
mirror of https://github.com/irssi/irssi.git synced 2024-06-30 06:45:25 +00:00

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
This commit is contained in:
Timo Sirainen 2001-11-25 21:59:49 +00:00 committed by cras
parent 53bdd8f602
commit 241fc61d23

View File

@ -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;