Changes in protocols/nogaim.c [4230221:9143aeb]
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
protocols/nogaim.c
r4230221 r9143aeb 267 267 protocols. */ 268 268 imc_set_away( ic, u->away ); 269 270 /* Apparently we're connected successfully, so reset the271 exponential backoff timer. */272 ic->acc->auto_reconnect_delay = 0;273 269 } 274 270 … … 294 290 user_t *t, *u; 295 291 account_t *a; 296 int delay;297 292 298 293 /* Nested calls might happen sometimes, this is probably the best … … 334 329 } 335 330 else if( allow_reconnect && set_getbool( &irc->set, "auto_reconnect" ) && 336 set_getbool( &a->set, "auto_reconnect" ) && 337 ( delay = account_reconnect_delay( a ) ) > 0 ) 338 { 331 set_getbool( &a->set, "auto_reconnect" ) ) 332 { 333 int delay = set_getint( &irc->set, "auto_reconnect_delay" ); 334 339 335 imcb_log( ic, "Reconnecting in %d seconds..", delay ); 340 336 a->reconnect = b_timeout_add( delay * 1000, auto_reconnect, a );
Note: See TracChangeset
for help on using the changeset viewer.