summary refs log tree commit diff
path: root/chat.h
diff options
context:
space:
mode:
authorC. McEnroe2020-02-15 04:54:53 -0500
committerC. McEnroe2020-02-15 04:54:53 -0500
commit42d106260b5e881aad7bc4cf6c73ffb1b30b5abb (patch)
tree3a0ce91447067c10f7b47c3aa3e197545b875639 /chat.h
parent91fa13667206ff43c4541c71eb34d0fb8eb733f7 (diff)
Separate network info from self
Diffstat (limited to 'chat.h')
-rw-r--r--chat.h9
1 files changed, 6 insertions, 3 deletions
diff --git a/chat.h b/chat.h
index c7ab5f7..9976786 100644
--- a/chat.h
+++ b/chat.h
@@ -82,15 +82,18 @@ enum Cap {
 #undef X
 };
 
+extern struct Network {
+	char *name;
+	char *chanTypes;
+	char *prefixes;
+} network;
+
 extern struct Self {
 	bool debug;
 	bool restricted;
 	char *plain;
 	const char *join;
 	enum Cap caps;
-	char *network;
-	char *chanTypes;
-	char *prefixes;
 	char *nick;
 	char *user;
 	enum Color color;