aboutsummaryrefslogtreecommitdiffstats
path: root/protocols/account.c
diff options
context:
space:
mode:
Diffstat (limited to 'protocols/account.c')
-rw-r--r--protocols/account.c5
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) {