From 7d44d05f5fa9fdd49e127b0609a61446a0b7a30f Mon Sep 17 00:00:00 2001 From: Marius Halden Date: Sun, 1 May 2016 22:47:25 +0200 Subject: Add support for per account set offline_user_quits --- protocols/account.c | 1 + 1 file changed, 1 insertion(+) (limited to 'protocols/account.c') diff --git a/protocols/account.c b/protocols/account.c index 685d15ec..8fa196d0 100644 --- a/protocols/account.c +++ b/protocols/account.c @@ -74,6 +74,7 @@ account_t *account_add(bee_t *bee, struct prpl *prpl, char *user, char *pass) s = set_add(&a->set, "username", NULL, set_eval_account, a); s->flags |= SET_NOSAVE | ACC_SET_OFFLINE_ONLY | ACC_SET_LOCKABLE; set_setstr(&a->set, "username", user); + set_add(&a->set, "offline_user_quits", "true", set_eval_bool, a); /* Hardcode some more clever tag guesses. */ strcpy(tag, prpl->name); -- cgit v1.2.3