degesch: fix irc_is_connected()

We've added a new state.
This commit is contained in:
Přemysl Eric Janouch 2015-05-09 23:15:24 +02:00
parent 0df9892391
commit e3b14e7d36
1 changed files with 1 additions and 1 deletions

View File

@ -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