1
0
mirror of https://github.com/irssi/irssi.git synced 2024-09-29 04:45:57 -04:00

If JOIN is sent to channel you've already joined, assume a missing PART and

resync the channel (instead of just ignoring as before). Patch by dg.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3099 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
Timo Sirainen 2003-01-21 08:15:33 +00:00 committed by cras
parent eff24e706e
commit 8070bb6704

View File

@ -253,12 +253,11 @@ static void event_join(IRC_SERVER_REC *server, const char *data, const char *nic
chanrec = irc_channel_find(server, channel);
if (chanrec != NULL && chanrec->joined) {
/* already joined this channel - this check was added
here because of broken irssi proxy :) */
g_free(shortchan);
g_free(params);
return;
}
/* already joined this channel - probably a broken proxy that
forgot to send PART between */
chanrec->left = TRUE;
channel_destroy(CHANNEL(chanrec));
chanrec = NULL; }
if (chanrec == NULL) {
/* look again, because of the channel name cut issues. */