Changeset 5df65bd for protocols/bee.c


Ignore:
Timestamp:
2010-11-21T16:14:03Z (10 years ago)
Author:
Wilmer van der Gaast <wilmer@…>
Branches:
master
Children:
694be84
Parents:
495d21b
Message:

Don't save the global "away" settings, leave that to the IRC /AWAY info
coming from the IRC client. Also, hide it from the settings list, it
doesn't belong there.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • protocols/bee.c

    r495d21b r5df65bd  
    3434        set_t *s;
    3535       
    36         s = set_add( &b->set, "away", NULL, set_eval_away_status, b );
    37         s->flags |= SET_NULL_OK;
    3836        s = set_add( &b->set, "auto_connect", "true", set_eval_bool, b );
    3937        s = set_add( &b->set, "auto_reconnect", "true", set_eval_bool, b );
    4038        s = set_add( &b->set, "auto_reconnect_delay", "5*3<900", set_eval_account_reconnect_delay, b );
     39        s = set_add( &b->set, "away", NULL, set_eval_away_status, b );
     40        s->flags |= SET_NULL_OK | SET_HIDDEN;
    4141        s = set_add( &b->set, "debug", "false", set_eval_bool, b );
    4242        s = set_add( &b->set, "mobile_is_away", "false", set_eval_bool, b );
Note: See TracChangeset for help on using the changeset viewer.