Changeset 3611717 for protocols


Ignore:
Timestamp:
2008-08-31T15:00:35Z (13 years ago)
Author:
Wilmer van der Gaast <wilmer@…>
Branches:
master
Children:
3b99524
Parents:
d995c9b
Message:

Added auto_join code.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • protocols/nogaim.c

    rd995c9b r3611717  
    249249void imcb_connected( struct im_connection *ic )
    250250{
     251        irc_t *irc = ic->irc;
     252        struct chat *c;
    251253        user_t *u;
    252254       
     
    271273           exponential backoff timer. */
    272274        ic->acc->auto_reconnect_delay = 0;
     275       
     276        for( c = irc->chatrooms; c; c = c->next )
     277        {
     278                if( c->acc != ic->acc )
     279                        continue;
     280               
     281                if( set_getbool( &c->set, "auto_join" ) )
     282                        chat_join( irc, c );
     283        }
    273284}
    274285
Note: See TracChangeset for help on using the changeset viewer.