From 42d106260b5e881aad7bc4cf6c73ffb1b30b5abb Mon Sep 17 00:00:00 2001 From: C. McEnroe Date: Sat, 15 Feb 2020 04:54:53 -0500 Subject: Separate network info from self --- chat.h | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'chat.h') 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; -- cgit 1.4.1-2-gfad0