diff options
Diffstat (limited to 'protocols')
-rw-r--r-- | protocols/twitter/twitter_lib.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/protocols/twitter/twitter_lib.c b/protocols/twitter/twitter_lib.c index 05990cc1..db1192ce 100644 --- a/protocols/twitter/twitter_lib.c +++ b/protocols/twitter/twitter_lib.c @@ -886,10 +886,6 @@ static void twitter_http_get_home_timeline(struct http_request *req) td->http_fails = 0; if (!(ic->flags & OPT_LOGGED_IN)) imcb_connected(ic); - } else if (req->status_code == 401) { - imcb_error(ic, "Authentication failure"); - imc_logout(ic, FALSE); - return; } else { // It didn't go well, output the error and return. if (++td->http_fails >= 5) @@ -938,10 +934,6 @@ static void twitter_http_get_mentions(struct http_request *req) td->http_fails = 0; if (!(ic->flags & OPT_LOGGED_IN)) imcb_connected(ic); - } else if (req->status_code == 401) { - imcb_error(ic, "Authentication failure"); - imc_logout(ic, FALSE); - return; } else { // It didn't go well, output the error and return. if (++td->http_fails >= 5) |