diff options
author | Wilmer van der Gaast <wilmer@gaast.net> | 2010-08-14 11:21:44 +0100 |
---|---|---|
committer | Wilmer van der Gaast <wilmer@gaast.net> | 2010-08-14 11:21:44 +0100 |
commit | 4ffd757724a657d2dc5c536473523a86f2331d9e (patch) | |
tree | 9135edf5c8b6c5fff26ab2bcc39d01d843e5baa6 /protocols/twitter/twitter.c | |
parent | 2b02617289671ececbd98a209cb44aca81c22a65 (diff) |
Don't send a /QUIT for every Twitter contact when going offline, and show
the twitter_$username /QUIT as a netsplit.
Diffstat (limited to 'protocols/twitter/twitter.c')
-rw-r--r-- | protocols/twitter/twitter.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/protocols/twitter/twitter.c b/protocols/twitter/twitter.c index a2f2325c..d5b71bc3 100644 --- a/protocols/twitter/twitter.c +++ b/protocols/twitter/twitter.c @@ -256,7 +256,7 @@ static void twitter_logout( struct im_connection *ic ) struct twitter_data *td = ic->proto_data; // Set the status to logged out. - ic->flags = 0; + ic->flags &= ~ OPT_LOGGED_IN; // Remove the main_loop function from the function queue. b_event_remove(td->main_loop_id); |