Changeset 57a65600


Ignore:
Timestamp:
2012-03-10T00:06:29Z (12 years ago)
Author:
Wilmer van der Gaast <wilmer@…>
Branches:
master
Children:
d18dee42
Parents:
0872bb2
Message:

Bug #929: Indeed SET_NULL_OK was missing.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • irc_im.c

    r0872bb2 r57a65600  
    965965static gboolean bee_irc_channel_init( irc_channel_t *ic )
    966966{
     967        set_t *s;
     968
    967969        set_add( &ic->set, "account", NULL, set_eval_room_account, ic );
    968970        set_add( &ic->set, "chat_type", "groupchat", set_eval_chat_type, ic );
    969         set_add( &ic->set, "nick", NULL, NULL, ic );
     971
     972        s = set_add( &ic->set, "nick", NULL, NULL, ic );
     973        s->flags |= SET_NULL_OK;
     974
    970975        set_add( &ic->set, "room", NULL, NULL, ic );
    971976        set_add( &ic->set, "translate_to_nicks", "true", set_eval_bool, ic );
Note: See TracChangeset for help on using the changeset viewer.