diff options
| -rw-r--r-- | protocols/account.c | 2 | 
1 files changed, 1 insertions, 1 deletions
| diff --git a/protocols/account.c b/protocols/account.c index 819bdc10..de5f9bd4 100644 --- a/protocols/account.c +++ b/protocols/account.c @@ -353,7 +353,7 @@ void account_on( bee_t *bee, account_t *a )  	a->reconnect = 0;  	a->prpl->login( a ); -	if( !( a->ic->flags & OPT_SLOW_LOGIN ) ) +	if( a->ic && !( a->ic->flags & OPT_SLOW_LOGIN ) )  		a->ic->keepalive = b_timeout_add( 120000, account_on_timeout, a->ic );  } | 
