Changeset 88eaf4b for irc.c


Ignore:
Timestamp:
2010-06-06T01:24:13Z (10 years ago)
Author:
Wilmer van der Gaast <wilmer@…>
Branches:
master
Children:
16834a5
Parents:
1f0224c
Message:

buddy_sendbuffer should be renamed, since it has to work for users and
chats. For smooth transitions, add an old_key attribute to settings
which can be used as a (temporary) alias.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • irc.c

    r1f0224c r88eaf4b  
    9999       
    100100        s = set_add( &b->set, "away_devoice", "true", NULL/*set_eval_away_devoice*/, irc );
    101         s = set_add( &b->set, "buddy_sendbuffer", "false", set_eval_bool, irc );
    102         s = set_add( &b->set, "buddy_sendbuffer_delay", "200", set_eval_int, irc );
    103101        s = set_add( &b->set, "charset", "utf-8", set_eval_charset, irc );
    104102        //s = set_add( &b->set, "control_channel", irc->channel, NULL/*set_eval_control_channel*/, irc );
     
    109107        s = set_add( &b->set, "lcnicks", "true", set_eval_bool, irc );
    110108        s = set_add( &b->set, "ops", "both", NULL/*set_eval_ops*/, irc );
     109        s = set_add( &b->set, "paste_buffer", "false", set_eval_bool, irc );
     110        s->old_key = g_strdup( "buddy_sendbuffer" );
     111        s = set_add( &b->set, "paste_buffer_delay", "200", set_eval_int, irc );
     112        s->old_key = g_strdup( "buddy_sendbuffer_delay" );
    111113        s = set_add( &b->set, "private", "true", set_eval_bool, irc );
    112114        s = set_add( &b->set, "query_order", "lifo", NULL, irc );
Note: See TracChangeset for help on using the changeset viewer.