aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPřemysl Eric Janouch <p@janouch.name>2021-05-28 02:19:31 +0200
committerPřemysl Eric Janouch <p@janouch.name>2021-05-28 04:04:23 +0200
commitf9ba682c0eef7847e4372313908545f732fe81a4 (patch)
tree9dcb9321bf19ac7f9d7580b16d66fa2d8da17c6d
parent8e8ffe2c73b55ee1beeca41d97bddb1a55b4602e (diff)
downloadxK-f9ba682c0eef7847e4372313908545f732fe81a4.tar.gz
xK-f9ba682c0eef7847e4372313908545f732fe81a4.tar.xz
xK-f9ba682c0eef7847e4372313908545f732fe81a4.zip
degesch: reset away-notify on disconnect
Forgotten to do it when adding the support for it.
-rw-r--r--degesch.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/degesch.c b/degesch.c
index 15066c8..1d7b442 100644
--- a/degesch.c
+++ b/degesch.c
@@ -4956,6 +4956,7 @@ irc_destroy_state (struct server *s)
str_reset (&s->irc_user_mode);
cstr_set (&s->irc_user_host, NULL);
+ s->cap_away_notify = false;
s->cap_echo_message = false;
// Need to call this before server_init_specifics()