From 0e3cdc19922c6ea0b3b63264b5362e1984e8b466 Mon Sep 17 00:00:00 2001 From: "C. McEnroe" Date: Sat, 21 Aug 2021 14:49:07 -0400 Subject: Avoid overwriting manual AWAY messages Setting an AWAY message then disconnecting will no longer replace the AWAY message with the default one. Reconnecting continues to always clear AWAY. --- bounce.h | 1 + 1 file changed, 1 insertion(+) (limited to 'bounce.h') diff --git a/bounce.h b/bounce.h index e17f216..3951599 100644 --- a/bounce.h +++ b/bounce.h @@ -232,6 +232,7 @@ void clientConsume(struct Client *client); extern bool stateNoNames; extern enum Cap stateCaps; +extern bool stateAway; void stateLogin( const char *pass, enum Cap blind, const char *plain, const char *nick, const char *user, const char *real -- cgit 1.4.1