Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • irc_channel.c

    rf8feb8a 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"))) {
     
    724724        }
    725725
    726         if (!bu->ic->acc->prpl->add_buddy) {
    727                 irc_send_num(ic->irc, 482, "%s :IM protocol does not support contact list modification", ic->name);
    728                 return FALSE;
    729         }
    730 
    731726        bu->ic->acc->prpl->add_buddy(bu->ic, bu->handle,
    732727                                     icc->group ? icc->group->name : NULL);
     
    746741        if (icc->type != IRC_CC_TYPE_GROUP) {
    747742                irc_send_num(ic->irc, 482, "%s :Kicks are only possible to fill_by=group channels", ic->name);
    748                 return;
    749         }
    750 
    751         if (!bu->ic->acc->prpl->remove_buddy) {
    752                 irc_send_num(ic->irc, 482, "%s :IM protocol does not support contact list modification", ic->name);
    753743                return;
    754744        }
Note: See TracChangeset for help on using the changeset viewer.