about summary refs log tree commit diff
path: root/chat.c
diff options
context:
space:
mode:
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();
 	}
 }