summaryrefslogtreecommitdiff
path: root/src/irc/core/channel-events.c
diff options
context:
space:
mode:
authorTimo Sirainen <cras@irssi.org>2002-05-26 17:50:55 +0000
committercras <cras@dbcabf3a-b0e7-0310-adc4-f8d773084564>2002-05-26 17:50:55 +0000
commita6d6ade680c951af57592aaff2efb222e1a47357 (patch)
tree73938b6abb460f3f1fcc3e95068816f9631c2857 /src/irc/core/channel-events.c
parent137aaeb4997295128a66d1ced6ff71bf12919e57 (diff)
downloadirssi-a6d6ade680c951af57592aaff2efb222e1a47357.zip
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
Diffstat (limited to 'src/irc/core/channel-events.c')
-rw-r--r--src/irc/core/channel-events.c2
1 files changed, 1 insertions, 1 deletions
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);
}