diff options
author | Přemysl Janouch <p.janouch@gmail.com> | 2015-05-09 23:15:24 +0200 |
---|---|---|
committer | Přemysl Janouch <p.janouch@gmail.com> | 2015-05-09 23:15:24 +0200 |
commit | e3b14e7d3689c5af25ceaaf186da7e4fb0948844 (patch) | |
tree | 5e1810b009b5d99db124e6a522288d8ebe65b36f | |
parent | 0df989239106321a22da976309cba9e845f9b37c (diff) | |
download | xK-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.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 |