summary refs log tree commit diff
path: root/handle.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 /handle.c
parentFix chat draw boundaries (diff)
downloadcatgirl-35589a562473e6eab83933e498fbecf5540431d6.tar.gz
catgirl-35589a562473e6eab83933e498fbecf5540431d6.zip
Rename client to irc
Diffstat (limited to '')
-rw-r--r--handle.c6
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(&params);
 	char *chan = shift(&params);
-	clientFmt("WHO %s\r\n", chan);
+	ircFmt("WHO %s\r\n", chan);
 }
 
 static char whoBuf[4096];
2015-08-14cgit: use cgit_print_error_page() where appropriateJohn Keeping 2015-08-14ui-shared: add cgit_print_error_page() functionJohn Keeping 2015-08-14ui-patch: make sure to send http headersChristian Hesse 2015-08-13Makefile: make "git/config.mak.uname" inclusion optionalJohn Keeping 2015-08-13ui-shared: show full date in tooltip if longer ago than max_relativeJohn Keeping 2015-08-13ui-shared: use common function in print_rel_date()John Keeping 2015-08-13ui-shared: extract date formatting to a functionJohn Keeping 2015-08-13filter: don't use dlsym unnecessarilyJohn Keeping 2015-08-13ui-tree: use "sane" isgraph()John Keeping 2015-08-13cgit.h: move stdbool.h from ui-shared.hJohn Keeping 2015-08-13cache.c: fix header orderJohn Keeping 2015-08-13configfile.c: don't include system headers directlyJohn Keeping 2015-08-13Remove redundant includesJohn Keeping 2015-08-13Makefile: include Git's config.mak.unameJohn Keeping 2015-08-13tests: allow shell to be overriddenJohn Keeping 2015-08-13redirect: cleanlinessJason A. Donenfeld 2015-08-13redirect: be more careful for different cgi setupsJason A. Donenfeld 2015-08-12ui-log: fix double countingJohn Keeping 2015-08-12log: allow users to follow a fileJohn Keeping 2015-08-12shared: make cgit_diff_tree_cb publicJohn Keeping 2015-08-12t0110: Chain together using &&Jason A. Donenfeld 2015-08-12about: always ensure page has a trailing slashJason A. Donenfeld 2015-08-12filters: apply HTML escapingLazaros Koromilas 2015-08-12git: update to v2.5.0Christian Hesse 2015-08-12Fix processing of repo.hide and repo.ignoreDaniel Reichelt