diff options
author | Wilmer van der Gaast <wilmer@gaast.net> | 2013-04-20 14:05:55 +0100 |
---|---|---|
committer | Wilmer van der Gaast <wilmer@gaast.net> | 2013-04-20 14:05:55 +0100 |
commit | e31e5b8f340a162180830dbe42dd438e59591cfd (patch) | |
tree | 029bbb166fda2e9b98a041039338835beb35a08e /protocols/account.c | |
parent | 9b2a8c10b61540c3c6892a4de7f52bf8657d455e (diff) | |
parent | bfafb99e6162b72e0f1ca7639de05f2b7bb3b23c (diff) |
Merging "storage" branch which I wrote long ago. It separates generation of
XML-formatted user configs from disk I/O so we can try to start using other
mechanisms to store them (a REST API or something, for example).
Diffstat (limited to 'protocols/account.c')
-rw-r--r-- | protocols/account.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/protocols/account.c b/protocols/account.c index e9388710..dec9c3ea 100644 --- a/protocols/account.c +++ b/protocols/account.c @@ -52,7 +52,7 @@ account_t *account_add( bee_t *bee, struct prpl *prpl, char *user, char *pass ) a->bee = bee; s = set_add( &a->set, "auto_connect", "true", set_eval_account, a ); - s->flags |= ACC_SET_NOSAVE; + s->flags |= SET_NOSAVE; s = set_add( &a->set, "auto_reconnect", "true", set_eval_bool, a ); @@ -60,16 +60,16 @@ account_t *account_add( bee_t *bee, struct prpl *prpl, char *user, char *pass ) s->flags |= SET_NULL_OK; s = set_add( &a->set, "nick_source", "handle", set_eval_nick_source, a ); - s->flags |= ACC_SET_NOSAVE; /* Just for bw compatibility! */ + s->flags |= SET_NOSAVE; /* Just for bw compatibility! */ s = set_add( &a->set, "password", NULL, set_eval_account, a ); - s->flags |= ACC_SET_NOSAVE | SET_NULL_OK | SET_PASSWORD; + s->flags |= SET_NOSAVE | SET_NULL_OK | SET_PASSWORD; s = set_add( &a->set, "tag", NULL, set_eval_account, a ); - s->flags |= ACC_SET_NOSAVE; + s->flags |= SET_NOSAVE; s = set_add( &a->set, "username", NULL, set_eval_account, a ); - s->flags |= ACC_SET_NOSAVE | ACC_SET_OFFLINE_ONLY; + s->flags |= SET_NOSAVE | ACC_SET_OFFLINE_ONLY; set_setstr( &a->set, "username", user ); /* Hardcode some more clever tag guesses. */ |