- Timestamp:
- 2013-01-13T11:11:26Z (12 years ago)
- Branches:
- master
- Children:
- 35571fb, fffabad
- Parents:
- 106f19c
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
protocols/account.c
r106f19c r4cb21b7 350 350 a->prpl->login( a ); 351 351 352 if( a->ic && !( a->ic->flags & OPT_SLOW_LOGIN) )352 if( a->ic && !( a->ic->flags & ( OPT_SLOW_LOGIN | OPT_LOGGED_IN ) ) ) 353 353 a->ic->keepalive = b_timeout_add( 120000, account_on_timeout, a->ic ); 354 354 } … … 369 369 struct im_connection *ic = d; 370 370 371 imcb_error( ic, "Connection timeout" ); 372 imc_logout( ic, TRUE ); 371 if( !( ic->flags & ( OPT_SLOW_LOGIN | OPT_LOGGED_IN ) ) ) 372 { 373 imcb_error( ic, "Connection timeout" ); 374 imc_logout( ic, TRUE ); 375 } 373 376 374 377 return FALSE;
Note: See TracChangeset
for help on using the changeset viewer.