Changeset d995c9b for account.c


Ignore:
Timestamp:
2008-08-31T14:54:39Z (16 years ago)
Author:
Wilmer van der Gaast <wilmer@…>
Branches:
master
Children:
3611717
Parents:
39f93f0
Message:

Added cleanup code.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • account.c

    r39f93f0 rd995c9b  
    190190{
    191191        account_t *a, *l = NULL;
     192        struct chat *c, *nc;
    192193       
    193194        if( acc->ic )
     
    202203                        else
    203204                                irc->accounts = a->next;
     205                       
     206                        for( c = irc->chatrooms; c; c = nc )
     207                                if( acc == c->acc )
     208                                {
     209                                        nc = c->next;
     210                                        chat_del( irc, c );
     211                                }
    204212                       
    205213                        while( a->set )
Note: See TracChangeset for help on using the changeset viewer.