From a6d6ade680c951af57592aaff2efb222e1a47357 Mon Sep 17 00:00:00 2001 From: Timo Sirainen Date: Sun, 26 May 2002 17:50:55 +0000 Subject: [PATCH] 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 --- src/irc/core/channel-events.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/irc/core/channel-events.c b/src/irc/core/channel-events.c index b39c5c74..3856f9bd 100644 --- a/src/irc/core/channel-events.c +++ b/src/irc/core/channel-events.c @@ -48,7 +48,7 @@ static void event_cannot_join(IRC_SERVER_REC *server, const char *data) g_free(channel); } - if (chanrec != NULL && !chanrec->names_got) { + if (chanrec != NULL && !chanrec->joined) { chanrec->left = TRUE; channel_destroy(chanrec); }