Changeset c99af3a


Ignore:
Timestamp:
2006-04-13T07:30:11Z (14 years ago)
Author:
Wilmer van der Gaast <wilmer@…>
Branches:
master
Children:
4d89886
Parents:
88b3a07
Message:

Removed account_offline(), we have signoff() already.

Files:
4 edited

Legend:

Unmodified
Added
Removed
  • account.c

    r88b3a07 rc99af3a  
    141141void account_off( irc_t *irc, account_t *a )
    142142{
    143         account_offline( a->gc );
     143        a->gc->wants_to_die = TRUE;
     144        signoff( a->gc );
    144145        a->gc = NULL;
    145146        if( a->reconnect )
  • irc.c

    r88b3a07 rc99af3a  
    233233       
    234234        for (account = irc->accounts; account; account = account->next) {
    235                 if (account->gc)
    236                         account_offline(account->gc);
    237                 else if (account->reconnect)
     235                if (account->gc) {
     236                        account->gc->wants_to_die = TRUE;
     237                        signoff(account->gc);
     238                } else if (account->reconnect) {
    238239                        cancel_auto_reconnect(account);
     240                }
    239241        }
    240242       
  • protocols/nogaim.c

    r88b3a07 rc99af3a  
    387387        while( g_source_remove_by_user_data( (gpointer) a ) );
    388388        a->reconnect = 0;
    389 }
    390 
    391 void account_offline( struct gaim_connection *gc )
    392 {
    393         gc->wants_to_die = TRUE;
    394         signoff( gc );
    395389}
    396390
  • protocols/nogaim.h

    r88b3a07 rc99af3a  
    212212G_MODULE_EXPORT void serv_got_crap( struct gaim_connection *gc, char *format, ... );
    213213G_MODULE_EXPORT void account_online( struct gaim_connection *gc );
    214 G_MODULE_EXPORT void account_offline( struct gaim_connection *gc );
    215214G_MODULE_EXPORT void signoff( struct gaim_connection *gc );
    216215
Note: See TracChangeset for help on using the changeset viewer.