diff options
author | June McEnroe <june@causal.agency> | 2018-08-04 17:54:46 -0400 |
---|---|---|
committer | June McEnroe <june@causal.agency> | 2018-08-04 17:54:46 -0400 |
commit | 35589a562473e6eab83933e498fbecf5540431d6 (patch) | |
tree | 014d092b3b19fb17c18a60c71b6829bd8c6184c8 /handle.c | |
parent | Fix chat draw boundaries (diff) | |
download | catgirl-35589a562473e6eab83933e498fbecf5540431d6.tar.gz catgirl-35589a562473e6eab83933e498fbecf5540431d6.zip |
Rename client to irc
Diffstat (limited to '')
-rw-r--r-- | handle.c | 6 |
1 files changed, 3 insertions, 3 deletions
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]; |