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