degesch: fix irc_is_connected()
We've added a new state.
This commit is contained in:
parent
0df9892391
commit
e3b14e7d36
@ -2469,7 +2469,7 @@ irc_remove_user_from_channel (struct user *user, struct channel *channel)
|
|||||||
static bool
|
static bool
|
||||||
irc_is_connected (struct server *s)
|
irc_is_connected (struct server *s)
|
||||||
{
|
{
|
||||||
return s->state != IRC_DISCONNECTED;
|
return s->state != IRC_DISCONNECTED && s->state != IRC_CONNECTING;
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
|
Loading…
Reference in New Issue
Block a user