From e3b14e7d3689c5af25ceaaf186da7e4fb0948844 Mon Sep 17 00:00:00 2001 From: Přemysl Janouch Date: Sat, 9 May 2015 23:15:24 +0200 Subject: degesch: fix irc_is_connected() We've added a new state. --- degesch.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/degesch.c b/degesch.c index a6c35ac..e85f013 100644 --- a/degesch.c +++ b/degesch.c @@ -2469,7 +2469,7 @@ irc_remove_user_from_channel (struct user *user, struct channel *channel) static bool irc_is_connected (struct server *s) { - return s->state != IRC_DISCONNECTED; + return s->state != IRC_DISCONNECTED && s->state != IRC_CONNECTING; } static void -- cgit v1.2.3-70-g09d2