about summary refs log tree commit diff
path: root/chat.h
diff options
context:
space:
mode:
Diffstat (limited to 'chat.h')
-rw-r--r--chat.h20
1 files changed, 10 insertions, 10 deletions
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);