Changeset a758ec1


Ignore:
Timestamp:
2010-08-21T19:48:41Z (14 years ago)
Author:
Wilmer van der Gaast <wilmer@…>
Branches:
master
Children:
0ebf919
Parents:
180ab31
Message:

Although the backward compatibility stuff for show_offline and away_devoice
was only meant to ease migration, people are now complaining that
"set show_offline off" doesn't work. Make this work, but at the same time
start hiding these two options to discourage people from using them.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • irc.c

    r180ab31 ra758ec1  
    103103        s = set_add( &b->set, "allow_takeover", "true", set_eval_bool, irc );
    104104        s = set_add( &b->set, "away_devoice", "true", set_eval_bw_compat, irc );
     105        s->flags |= SET_HIDDEN;
    105106        s = set_add( &b->set, "away_reply_timeout", "3600", set_eval_int, irc );
    106107        s = set_add( &b->set, "charset", "utf-8", set_eval_charset, irc );
     
    126127        s->flags |= SET_HIDDEN;
    127128        s = set_add( &b->set, "show_offline", "false", set_eval_bw_compat, irc );
     129        s->flags |= SET_HIDDEN;
    128130        s = set_add( &b->set, "simulate_netsplit", "true", set_eval_bool, irc );
    129131        s = set_add( &b->set, "timezone", "local", set_eval_timezone, irc );
     
    918920                val = "online@,away+,offline";
    919921        else
    920                 return SET_INVALID;
     922                val = "online+,away";
    921923       
    922924        for( l = irc->channels; l; l = l->next )
Note: See TracChangeset for help on using the changeset viewer.