about summary refs log tree commit diff
path: root/chat.c
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2018-08-04 17:54:46 -0400
committerJune McEnroe <june@causal.agency>2018-08-04 17:54:46 -0400
commit35589a562473e6eab83933e498fbecf5540431d6 (patch)
tree014d092b3b19fb17c18a60c71b6829bd8c6184c8 /chat.c
parentFix chat draw boundaries (diff)
downloadcatgirl-35589a562473e6eab83933e498fbecf5540431d6.tar.gz
catgirl-35589a562473e6eab83933e498fbecf5540431d6.zip
Rename client to irc
Diffstat (limited to '')
-rw-r--r--chat.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/chat.c b/chat.c
index ab0d4d7..f52bc3a 100644
--- a/chat.c
+++ b/chat.c
@@ -71,7 +71,7 @@ int main(int argc, char *argv[]) {
 	uiChat("Traveling...");
 	uiDraw();
 
-	int sock = clientConnect(host, port, webPass);
+	int sock = ircConnect(host, port, webPass);
 	free(host);
 
 	struct pollfd fds[2] = {
@@ -87,7 +87,7 @@ int main(int argc, char *argv[]) {
 		}
 
 		if (fds[0].revents) uiRead();
-		if (fds[1].revents) clientRead();
+		if (fds[1].revents) ircRead();
 		uiDraw();
 	}
 }