diff options
author | Marius Halden <marius.h@lden.org> | 2016-04-22 00:11:17 +0200 |
---|---|---|
committer | Marius Halden <marius.h@lden.org> | 2016-05-07 14:31:03 +0200 |
commit | 5c743e0ed30650c40a3989bb9e13563dfffeeaaf (patch) | |
tree | 35a282aa5be62e1afb23d37ebddb44e6bdedb8fd /protocols/twitter/twitter.c | |
parent | 72df384c0d35f2d095956cd9e45369a74955a9db (diff) |
Only allow twitter set channel_name when offline
Diffstat (limited to 'protocols/twitter/twitter.c')
-rw-r--r-- | protocols/twitter/twitter.c | 1 |
1 files changed, 1 insertions, 0 deletions
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; |