summary refs log tree commit diff
path: root/input.c
diff options
context:
space:
mode:
authorCurtis McEnroe2018-08-04 17:54:46 -0400
committerCurtis McEnroe2018-08-04 17:54:46 -0400
commit35589a562473e6eab83933e498fbecf5540431d6 (patch)
tree014d092b3b19fb17c18a60c71b6829bd8c6184c8 /input.c
parentb163492552c409a7d1f4305dc88b0f279d0e0d91 (diff)
Rename client to irc
Diffstat (limited to 'input.c')
-rw-r--r--input.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/input.c b/input.c
index 12f214e..53957ec 100644
--- a/input.c
+++ b/input.c
@@ -44,7 +44,7 @@ static void privmsg(bool action, const wchar_t *mesg) {
 		(action ? "\1ACTION " : ""), mesg, (action ? "\1" : "")
 	);
 	if (!line) err(EX_OSERR, "asprintf");
-	clientFmt("%s\r\n", &line[send]);
+	ircFmt("%s\r\n", &line[send]);
 	handle(line);
 	free(line);
 }
@@ -58,7 +58,7 @@ static void inputMe(wchar_t *params) {
 static void inputNick(wchar_t *params) {
 	wchar_t *nick = wcssep(&params, L" ");
 	if (nick) {
-		clientFmt("NICK %ls\r\n", nick);
+		ircFmt("NICK %ls\r\n", nick);
 	} else {
 		uiChat("/nick requires a name");
 	}
@@ -66,14 +66,14 @@ static void inputNick(wchar_t *params) {
 
 static void inputWho(wchar_t *params) {
 	(void)params;
-	clientFmt("WHO %s\r\n", chat.chan);
+	ircFmt("WHO %s\r\n", chat.chan);
 }
 
 static void inputQuit(wchar_t *params) {
 	if (params) {
-		clientFmt("QUIT :%ls\r\n", params);
+		ircFmt("QUIT :%ls\r\n", params);
 	} else {
-		clientFmt("QUIT :Goodbye\r\n");
+		ircFmt("QUIT :Goodbye\r\n");
 	}
 }