From 5c743e0ed30650c40a3989bb9e13563dfffeeaaf Mon Sep 17 00:00:00 2001 From: Marius Halden Date: Fri, 22 Apr 2016 00:11:17 +0200 Subject: Only allow twitter set channel_name when offline --- protocols/twitter/twitter.c | 1 + 1 file changed, 1 insertion(+) (limited to 'protocols/twitter/twitter.c') diff --git a/protocols/twitter/twitter.c b/protocols/twitter/twitter.c index d5922e2a..2483cbf7 100644 --- a/protocols/twitter/twitter.c +++ b/protocols/twitter/twitter.c @@ -600,6 +600,7 @@ static void twitter_init(account_t * acc) s->flags |= ACC_SET_OFFLINE_ONLY; s = set_add(&acc->set, "channel_name", NULL, set_eval_channel_name, acc); + s->flags |= ACC_SET_OFFLINE_ONLY; s = set_add(&acc->set, "_last_tweet", "0", NULL, acc); s->flags |= SET_HIDDEN | SET_NOSAVE; -- cgit v1.2.3