summary refs log tree commit diff
path: root/chat.h
diff options
context:
space:
mode:
authorCurtis McEnroe2018-12-02 23:22:18 -0500
committerCurtis McEnroe2018-12-02 23:22:18 -0500
commit452aeb5ecf8d70a7ce5c5ea0e0f59df92f53eab2 (patch)
tree0b78a60487770a6ef188d7ad76bd0cad35ce10aa /chat.h
parent0e1297e068258baba6e26265d81b93bda71be8b2 (diff)
Move host, port, pass, webp to self
Diffstat (limited to 'chat.h')
-rw-r--r--chat.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/chat.h b/chat.h
index 31b31a2..42afea9 100644
--- a/chat.h
+++ b/chat.h
@@ -31,7 +31,10 @@
 #define errx(...) do { uiHide(); errx(__VA_ARGS__); } while (0)
 
 struct {
+	char *host;
 	char *port;
+	char *pass;
+	char *webp;
 	char *nick;
 	char *user;
 	char *real;
@@ -103,7 +106,7 @@ void handle(char *line);
 void input(struct Tag tag, char *line);
 void inputTab(void);
 
-void ircInit(char *host, char *port, char *pass, char *webPass);
+void ircInit(void);
 int ircConnect(void);
 bool ircRead(void);
 void ircWrite(const char *ptr, size_t len);