Changeset 1186382 for irc.c


Ignore:
Timestamp:
2007-10-10T22:15:59Z (12 years ago)
Author:
Wilmer van der Gaast <wilmer@…>
Branches:
master
Children:
285b55d
Parents:
8c2008e
Message:

Made the netsplit-like quit messages optional.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • irc.c

    r8c2008e r1186382  
    143143        set_add( &irc->set, "query_order", "lifo", NULL, irc );
    144144        set_add( &irc->set, "save_on_quit", "true", set_eval_bool, irc );
     145        set_add( &irc->set, "simulate_netsplit", "true", set_eval_bool, irc );
    145146        set_add( &irc->set, "strip_html", "true", NULL, irc );
    146147        set_add( &irc->set, "to_char", ": ", set_eval_to_char, irc );
     
    910911        char reason[128];
    911912       
    912         if( u->ic && u->ic->flags & OPT_LOGGING_OUT )
     913        if( u->ic && u->ic->flags & OPT_LOGGING_OUT && set_getbool( &irc->set, "simulate_netsplit" ) )
    913914        {
    914915                if( u->ic->acc->server )
Note: See TracChangeset for help on using the changeset viewer.