summary refs log tree commit diff
path: root/chat.h
diff options
context:
space:
mode:
authorJune McEnroe2022-05-29 18:09:52 -0400
committerJune McEnroe2022-05-29 18:09:52 -0400
commit3475f03ec8c9ee26544c17b5f3d1cba7b1104f5e (patch)
tree51a7b2881e54369316856602f297827803a4ad53 /chat.h
parenta5162d83bd0f91ee41292798743042606428bfb0 (diff)
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.
Diffstat (limited to 'chat.h')
-rw-r--r--chat.h7
1 files changed, 4 insertions, 3 deletions
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;