Ignore:
Timestamp:
2016-12-27T17:24:50Z (7 years ago)
Author:
dequis <dx@…>
Branches:
master
Children:
2e8523b
Parents:
9cdcef0
Message:

Per-account handle_unknown

Credit for the idea goes to russian XMPP spammers. Thanks!

File:
1 edited

Legend:

Unmodified
Added
Removed
  • protocols/account.c

    r9cdcef0 r7801298  
    5959
    6060        s = set_add(&a->set, "auto_reconnect", "true", set_eval_bool, a);
     61
     62        s = set_add(&a->set, "handle_unknown", NULL, NULL, a);
     63        s->flags |= SET_NULL_OK;
    6164
    6265        s = set_add(&a->set, "nick_format", NULL, NULL, a);
Note: See TracChangeset for help on using the changeset viewer.