diff options
author | Wilmer van der Gaast <wilmer@gaast.net> | 2010-07-24 17:58:27 +0200 |
---|---|---|
committer | Wilmer van der Gaast <wilmer@gaast.net> | 2010-07-24 17:58:27 +0200 |
commit | e135cd0997fb88ae644e63b6b7457ba08a60661a (patch) | |
tree | bae78b4045df81686a5a8c569360899a820f8e1b /protocols/account.c | |
parent | 40e6dac45f29a4c2cc64ce55eecef03d0b185bd5 (diff) |
Use the account tag in a few places and store it in the XML file as an
attribute, not as a setting (since all accounts have it anyway).
Diffstat (limited to 'protocols/account.c')
-rw-r--r-- | protocols/account.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/protocols/account.c b/protocols/account.c index 6a762e8b..7fceae91 100644 --- a/protocols/account.c +++ b/protocols/account.c @@ -66,6 +66,7 @@ account_t *account_add( bee_t *bee, struct prpl *prpl, char *user, char *pass ) s->flags |= ACC_SET_NOSAVE | SET_NULL_OK; s = set_add( &a->set, "tag", NULL, set_eval_account, a ); + s->flags |= ACC_SET_NOSAVE; s = set_add( &a->set, "username", NULL, set_eval_account, a ); s->flags |= ACC_SET_NOSAVE | ACC_SET_OFFLINE_ONLY; |