From 1a9ae050d62dd56f285b59d3952f1dabe186ea9c Mon Sep 17 00:00:00 2001 From: Curtis McEnroe Date: Fri, 10 Aug 2018 00:01:35 -0400 Subject: Rename chan to join In preparation for multi-channel? --- chat.h | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) (limited to 'chat.h') diff --git a/chat.h b/chat.h index af13410..fce1ba2 100644 --- a/chat.h +++ b/chat.h @@ -29,18 +29,9 @@ struct { bool verbose; char *nick; char *user; - char *chan; + char *join; } chat; -enum { - IRC_BOLD = 002, - IRC_COLOR = 003, - IRC_REVERSE = 026, - IRC_RESET = 017, - IRC_ITALIC = 035, - IRC_UNDERLINE = 037, -}; - int ircConnect( const char *host, const char *port, const char *pass, const char *webPass ); @@ -50,6 +41,15 @@ void ircWrite(const char *ptr, size_t len); __attribute__((format(printf, 1, 2))) void ircFmt(const char *format, ...); +enum { + IRC_BOLD = 002, + IRC_COLOR = 003, + IRC_REVERSE = 026, + IRC_RESET = 017, + IRC_ITALIC = 035, + IRC_UNDERLINE = 037, +}; + void uiInit(void); void uiHide(void); void uiExit(void); -- cgit 1.4.1-2-gfad0