- Timestamp:
- 2006-05-15T09:52:01Z (19 years ago)
- Branches:
- master
- Children:
- af9980f
- Parents:
- 7a685f1
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
protocols/nogaim.c
r7a685f1 rc98be00 248 248 * This fixes daemon mode breakage where IRC doesn't point to the currently active connection. 249 249 */ 250 gc->irc =user->irc;250 gc->irc = user->irc; 251 251 252 252 connections = g_slist_append( connections, gc ); … … 372 372 void cancel_auto_reconnect( account_t *a ) 373 373 { 374 while( b_event_remove_by_data( (gpointer) a ) ); 374 /* while( b_event_remove_by_data( (gpointer) a ) ); */ 375 b_event_remove( a->reconnect ); 375 376 a->reconnect = 0; 376 377 } … … 414 415 { 415 416 int delay = set_getint( irc, "auto_reconnect_delay" ); 417 416 418 serv_got_crap( gc, "Reconnecting in %d seconds..", delay ); 417 418 a->reconnect = 1; 419 b_timeout_add( delay * 1000, auto_reconnect, a ); 419 a->reconnect = b_timeout_add( delay * 1000, auto_reconnect, a ); 420 420 } 421 421
Note: See TracChangeset
for help on using the changeset viewer.