From 35589a562473e6eab83933e498fbecf5540431d6 Mon Sep 17 00:00:00 2001 From: Curtis McEnroe Date: Sat, 4 Aug 2018 17:54:46 -0400 Subject: Rename client to irc --- handle.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'handle.c') diff --git a/handle.c b/handle.c index ba3cb00..7bbf3e7 100644 --- a/handle.c +++ b/handle.c @@ -50,7 +50,7 @@ static char *shift(char **params) { static void handlePing(char *prefix, char *params) { (void)prefix; - clientFmt("PONG %s\r\n", params); + ircFmt("PONG %s\r\n", params); } static void handle432(char *prefix, char *params) { @@ -70,7 +70,7 @@ static void handle001(char *prefix, char *params) { free(chat.nick); chat.nick = strdup(nick); } - clientFmt("JOIN %s\r\n", chat.chan); + ircFmt("JOIN %s\r\n", chat.chan); } static void handleJoin(char *prefix, char *params) { @@ -149,7 +149,7 @@ static void handle366(char *prefix, char *params) { (void)prefix; shift(¶ms); char *chan = shift(¶ms); - clientFmt("WHO %s\r\n", chan); + ircFmt("WHO %s\r\n", chan); } static char whoBuf[4096]; -- cgit 1.4.1-2-gfad0