Changeset c2fb3809 for irc.c


Ignore:
Timestamp:
2007-04-15T22:39:35Z (13 years ago)
Author:
Wilmer van der Gaast <wilmer@…>
Branches:
master
Children:
84b045d
Parents:
cd4723c
Message:

Cleaned up struct im_connection. No more username/password stuff since
it's in acc too. wants_to_die is now an argument to imc_logout().

File:
1 edited

Legend:

Unmodified
Added
Removed
  • irc.c

    rcd4723c rc2fb3809  
    231231        for (account = irc->accounts; account; account = account->next) {
    232232                if (account->ic) {
    233                         account->ic->wants_to_die = TRUE;
    234                         imc_logout(account->ic);
     233                        imc_logout(account->ic, TRUE);
    235234                } else if (account->reconnect) {
    236235                        cancel_auto_reconnect(account);
     
    916915                        g_snprintf( reason, sizeof( reason ), "%s %s", irc->myhost,
    917916                                    u->ic->acc->server );
    918                 else if( ( s = strchr( u->ic->username, '@' ) ) )
     917                else if( ( s = strchr( u->ic->acc->user, '@' ) ) )
    919918                        g_snprintf( reason, sizeof( reason ), "%s %s", irc->myhost,
    920919                                    s + 1 );
Note: See TracChangeset for help on using the changeset viewer.