From 3475f03ec8c9ee26544c17b5f3d1cba7b1104f5e Mon Sep 17 00:00:00 2001 From: June McEnroe Date: Sun, 29 May 2022 18:09:52 -0400 Subject: Allow setting fallback nicks and highlight on any As a side-effect, even with only one nick set you'll still be highlighted by it even if your current nick is different. --- chat.h | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'chat.h') diff --git a/chat.h b/chat.h index 1c46f00..b252210 100644 --- a/chat.h +++ b/chat.h @@ -193,10 +193,11 @@ extern struct Self { bool restricted; size_t pos; enum Cap caps; - char *plainUser; + const char *plainUser; char *plainPass; - char *mode; - char *join; + const char *nicks[8]; + const char *mode; + const char *join; char *nick; char *user; char *host; -- cgit 1.4.1-2-gfad0