degesch: reset away-notify on disconnect

Forgotten to do it when adding the support for it.
This commit is contained in:
Přemysl Eric Janouch 2021-05-28 02:19:31 +02:00
parent 8e8ffe2c73
commit f9ba682c0e
Signed by: p
GPG Key ID: A0420B94F92B9493

View File

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