diff options
author | Marius Halden <marius.h@lden.org> | 2016-11-21 09:32:54 +0100 |
---|---|---|
committer | Marius Halden <marius.h@lden.org> | 2016-11-21 09:32:54 +0100 |
commit | 434336755175aa390c64e34206b58b8954b3fffe (patch) | |
tree | 02d406c2e8ce3f3281b39c6577965685f4d795d6 /protocols/account.c | |
parent | 08e1027c558a25b0b4f9410048c185e89c7b347a (diff) | |
parent | 5a8afc3f24a5308799d3960cab5726228345022d (diff) |
Merge branch 'master' into patched-master
Diffstat (limited to 'protocols/account.c')
-rw-r--r-- | protocols/account.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/protocols/account.c b/protocols/account.c index aa14b0c3..aa1ffe61 100644 --- a/protocols/account.c +++ b/protocols/account.c @@ -77,6 +77,11 @@ account_t *account_add(bee_t *bee, struct prpl *prpl, char *user, char *pass) set_add(&a->set, "offline_user_quits", "true", set_eval_bool, a); set_add(&a->set, "offline_is_away", "false", set_eval_bool, a); + if (prpl == &protocol_missing) { + s = set_add(&a->set, "server", NULL, set_eval_account, a); + s->flags |= SET_NOSAVE | SET_HIDDEN | ACC_SET_OFFLINE_ONLY | ACC_SET_ONLINE_ONLY; + } + /* Hardcode some more clever tag guesses. */ strcpy(tag, prpl->name); if (strcmp(prpl->name, "oscar") == 0) { |