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 e25e40c7..1f12f56f 100644
--- a/protocols/account.c
+++ b/protocols/account.c
@@ -75,6 +75,11 @@ account_t *account_add(bee_t *bee, struct prpl *prpl, char *user, char *pass)
s->flags |= SET_NOSAVE | ACC_SET_OFFLINE_ONLY | ACC_SET_LOCKABLE;
set_setstr(&a->set, "username", user);
+ 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) {