summary refs log tree commit diff
path: root/input.c
diff options
context:
space:
mode:
Diffstat (limited to 'input.c')
-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);
 	}
 }
 
gmsg'> Lua support is unused and the dlsym fwrite/write hacks horrify me. Clean it up. 2021-01-20Fix tests for diff spansJune McEnroe 2021-01-20Avoid matching ':' in make tagsJune McEnroe Otherwise a :: rule includes one of the ':'s in the tag name. 2021-01-19Prefer tag matches not preceded by [[:alnum:]]June McEnroe Otherwise the "id" in "void" matches for "void id". 2021-01-19Escape \ and / in mtags search patternsJune McEnroe 2021-01-20Use mtags in source-filterJune McEnroe 2021-01-19Add mtags to generate tags for make and mdocJune McEnroe 2021-01-19Map tags to IDs using only [[:alnum:]-._]June McEnroe 2021-01-19Don't use a pager if reading standard inputJune McEnroe 2021-01-19Support BSD make syntax and match *.amJune McEnroe These don't really go together, but... 2021-01-19Match tab following escaped newline in make assignmentsJune McEnroe Otherwise it ends up going into Shell state. 2021-01-18Allow matching lexers using first input lineJune McEnroe