summaryrefslogtreecommitdiff
path: root/degesch.c
diff options
context:
space:
mode:
Diffstat (limited to 'degesch.c')
-rw-r--r--degesch.c2
1 files changed, 1 insertions, 1 deletions
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