Changeset 24de9fa for irc_channel.c


Ignore:
Timestamp:
2015-07-28T23:41:24Z (5 years ago)
Author:
Wilmer van der Gaast <wilmer@…>
Branches:
master
Children:
4966712a, 69b94c3
Parents:
77ed9b7
Message:

Restore old autojoin logic and a hopefully better fix for the problem
jgeboski was trying to solve. #1221 for details.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • irc_channel.c

    r77ed9b7 r24de9fa  
    445445                        char *acc_s;
    446446
    447                         if (!aj || (ic->flags & IRC_CHANNEL_JOINED)) {
    448                                 /* Only continue if this one's marked as auto_join
    449                                    or if we're in it already. (Possible if the
    450                                    client auto-rejoined it before identyfing.) */
     447                        if (!aj && !(ic->flags & IRC_CHANNEL_JOINED)) {
     448                                /* Only proceed if this one's marked as auto_join
     449                                   or if we're in it already. (Very likely the IRC
     450                                   client auto-(re)joining at reconnect time.) */
    451451                                continue;
    452452                        } else if (!(acc_s = set_getstr(&ic->set, "account"))) {
Note: See TracChangeset for help on using the changeset viewer.