Changes in / [3ddbd23c:69b94c3]


Ignore:
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • irc_channel.c

    r3ddbd23c r69b94c3  
    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"))) {
  • irc_im.c

    r3ddbd23c r69b94c3  
    836836            (room = set_getstr(&ic->set, "room")) &&
    837837            (acc = account_get(ic->irc->b, acc_s)) &&
    838             acc->ic && acc->prpl->chat_join) {
     838            acc->ic && (acc->ic->flags & OPT_LOGGED_IN) &&
     839            acc->prpl->chat_join) {
    839840                char *nick;
    840841
Note: See TracChangeset for help on using the changeset viewer.