mirror of
https://github.com/irssi/irssi.git
synced 2024-09-01 04:14:16 -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:
parent
137aaeb499
commit
a6d6ade680
@ -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);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user