aboutsummaryrefslogtreecommitdiffstats
path: root/protocols/nogaim.c
diff options
context:
space:
mode:
authorWilmer van der Gaast <wilmer@gaast.net>2012-11-12 00:14:29 +0000
committerWilmer van der Gaast <wilmer@gaast.net>2012-11-12 00:14:29 +0000
commitaef207752aa19700bf5b68531243c36a6c8e02ca (patch)
tree705f648f5b5d29db5fa186c6757e95df75c9ab3d /protocols/nogaim.c
parent67ebc8e0063e18f88752da04e9576330193e2e13 (diff)
Bugfix: Two commits ago I broke cleanup of the account_on_timeout() handler,
taking down every IM connection 2m after setup.
Diffstat (limited to 'protocols/nogaim.c')
-rw-r--r--protocols/nogaim.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/protocols/nogaim.c b/protocols/nogaim.c
index 744f73ad..2f85a3eb 100644
--- a/protocols/nogaim.c
+++ b/protocols/nogaim.c
@@ -297,8 +297,7 @@ void imcb_connected( struct im_connection *ic )
imcb_log( ic, "Logged in" );
ic->flags |= OPT_LOGGED_IN;
- if( !ic->keepalive )
- start_keepalives( ic, 60000 );
+ start_keepalives( ic, 60000 );
/* Necessary to send initial presence status, even if we're not away. */
imc_away_send_update( ic );