1
0
mirror of https://github.com/irssi/irssi.git synced 2024-10-27 05:20:20 -04:00

event_cannot_join() - changed check from NAMES got -> JOIN got, so the

channel isn't destroyed if join is received. dircproxy sent us 477 with
+channels before names list, and irssi aborted the join.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2827 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
Timo Sirainen 2002-05-26 17:50:55 +00:00 committed by cras
parent 137aaeb499
commit a6d6ade680

View File

@ -48,7 +48,7 @@ static void event_cannot_join(IRC_SERVER_REC *server, const char *data)
g_free(channel); g_free(channel);
} }
if (chanrec != NULL && !chanrec->names_got) { if (chanrec != NULL && !chanrec->joined) {
chanrec->left = TRUE; chanrec->left = TRUE;
channel_destroy(chanrec); channel_destroy(chanrec);
} }