Changeset 00a5270


Ignore:
Timestamp:
2006-07-14T18:24:59Z (13 years ago)
Author:
Wilmer van der Gaast <wilmer@…>
Branches:
master
Children:
89a1809
Parents:
eda0270
Message:

Added a per-connection auto_reconnect setting.

Files:
2 edited

Legend:

Unmodified
Added
Removed
  • account.c

    reda0270 r00a5270  
    5151        s = set_add( &a->set, "auto_connect", "true", set_eval_account, a );
    5252        s->flags |= ACC_SET_NOSAVE;
     53       
     54        s = set_add( &a->set, "auto_reconnect", "true", set_eval_account, a );
    5355       
    5456        s = set_add( &a->set, "password", NULL, set_eval_account, a );
  • protocols/nogaim.c

    reda0270 r00a5270  
    311311                /* Uhm... This is very sick. */
    312312        }
    313         else if( !gc->wants_to_die && set_getint( &irc->set, "auto_reconnect" ) )
     313        else if( !gc->wants_to_die && set_getbool( &irc->set, "auto_reconnect" ) &&
     314                 set_getbool( &a->set, "auto_reconnect" ) )
    314315        {
    315316                int delay = set_getint( &irc->set, "auto_reconnect_delay" );
Note: See TracChangeset for help on using the changeset viewer.