aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPřemysl Janouch <p.janouch@gmail.com>2015-05-09 23:15:24 +0200
committerPřemysl Janouch <p.janouch@gmail.com>2015-05-09 23:15:24 +0200
commite3b14e7d3689c5af25ceaaf186da7e4fb0948844 (patch)
tree5e1810b009b5d99db124e6a522288d8ebe65b36f
parent0df989239106321a22da976309cba9e845f9b37c (diff)
downloadxK-e3b14e7d3689c5af25ceaaf186da7e4fb0948844.tar.gz
xK-e3b14e7d3689c5af25ceaaf186da7e4fb0948844.tar.xz
xK-e3b14e7d3689c5af25ceaaf186da7e4fb0948844.zip
degesch: fix irc_is_connected()
We've added a new state.
-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