summary refs log tree commit diff
path: root/input.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--input.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/input.c b/input.c
index c342a78..56c38bf 100644
--- a/input.c
+++ b/input.c
@@ -28,7 +28,7 @@ static void privmsg(bool action, const char *mesg) {
 	int send;
 	asprintf(
 		&line, ":%s!%s %nPRIVMSG %s :%s%s%s",
-		chat.nick, chat.user, &send, chat.chan,
+		chat.nick, chat.user, &send, chat.join,
 		(action ? "\1ACTION " : ""), mesg, (action ? "\1" : "")
 	);
 	if (!line) err(EX_OSERR, "asprintf");
@@ -54,14 +54,14 @@ static void inputNick(char *params) {
 
 static void inputWho(char *params) {
 	(void)params;
-	ircFmt("WHO %s\r\n", chat.chan);
+	ircFmt("WHO %s\r\n", chat.join);
 }
 
 static void inputTopic(char *params) {
 	if (params) {
-		ircFmt("TOPIC %s :%s\r\n", chat.chan, params);
+		ircFmt("TOPIC %s :%s\r\n", chat.join, params);
 	} else {
-		ircFmt("TOPIC %s\r\n", chat.chan);
+		ircFmt("TOPIC %s\r\n", chat.join);
 	}
 }
 
5cc1b1a2c84dc&follow=1'>Indicate if still reading or no resultsJune McEnroe 2022-06-08Add Maiden, Mother, CroneJune McEnroe 2022-06-05FIRST SHOW IN 2.5 YEARS BABEY!!!June McEnroe 2022-06-03Set line number on File linesJune McEnroe 2022-06-03Stop polling stdin after EOFJune McEnroe 2022-06-02Set TABSIZE=4June McEnroe 2022-06-02Do basic match highlightingJune McEnroe 2022-06-02Clean up parsing a littleJune McEnroe 2022-06-02Don't duplicate path stringJune McEnroe 2022-06-02Use stderr instead of /dev/tty, realloc buffer if lines too longJune McEnroe 2022-06-02Add initial working version of qfJune McEnroe 2022-05-29Set prompt for okshJune McEnroe