Changeset 180ab31 for irc.c


Ignore:
Timestamp:
2010-08-21T19:34:17Z (14 years ago)
Author:
Wilmer van der Gaast <wilmer@…>
Branches:
master
Children:
a758ec1
Parents:
5613af7
Message:

Added some neat whatsnew code that keeps track of the newest version of
BitlBee used by a user, and if it looks like s/he hasn't used this one
before, show a list of new features that may be interesting.

Since I don't think im.bitlbee.org users will read any changelogs ever,
this is probably not a bad idea. If you hate it, the following command
should get rid of it forever: set last_version 9999999

File:
1 edited

Legend:

Unmodified
Added
Removed
  • irc.c

    r5613af7 r180ab31  
    109109        s = set_add( &b->set, "display_timestamps", "true", set_eval_bool, irc );
    110110        s = set_add( &b->set, "handle_unknown", "add_channel", NULL, irc );
     111        s = set_add( &b->set, "last_version", NULL, NULL, irc );
     112        s->flags |= SET_HIDDEN;
    111113        s = set_add( &b->set, "lcnicks", "true", set_eval_bool, irc );
    112114        s = set_add( &b->set, "nick_format", "%-@nick", NULL, irc );
     
    122124        s = set_add( &b->set, "query_order", "lifo", NULL, irc );
    123125        s = set_add( &b->set, "root_nick", ROOT_NICK, set_eval_root_nick, irc );
     126        s->flags |= SET_HIDDEN;
    124127        s = set_add( &b->set, "show_offline", "false", set_eval_bw_compat, irc );
    125128        s = set_add( &b->set, "simulate_netsplit", "true", set_eval_bool, irc );
Note: See TracChangeset for help on using the changeset viewer.