summary refs log tree commit diff
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2018-09-13 22:10:14 -0400
committerJune McEnroe <june@causal.agency>2018-09-13 22:10:14 -0400
commitede343431f42a35c31a188b1201b9163524e4f82 (patch)
treef1ccc8335d819bc9dc02b47642d20dd576aca6df
parentMove color selection to format.c (diff)
downloadcatgirl-ede343431f42a35c31a188b1201b9163524e4f82.tar.gz
catgirl-ede343431f42a35c31a188b1201b9163524e4f82.zip
Never send PRIVMSG to TagStatus or TagVerbose
Diffstat (limited to '')
-rw-r--r--input.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/input.c b/input.c
index 25e8a0d..7866c5a 100644
--- a/input.c
+++ b/input.c
@@ -25,6 +25,7 @@
 #include "chat.h"
 
 static void privmsg(struct Tag tag, bool action, const char *mesg) {
+	if (tag.id == TagStatus.id || tag.id == TagVerbose.id) return;
 	char *line;
 	int send;
 	asprintf(
@@ -180,7 +181,7 @@ void input(struct Tag tag, char *input) {
 	if (!slash) {
 		if (tag.id == TagVerbose.id) {
 			ircFmt("%s\r\n", input);
-		} else if (tag.id != TagStatus.id) {
+		} else {
 			privmsg(tag, false, input);
 		}
 		return;
td>Up default min-repeat to 30 linesJune McEnroe 2021-09-08Handle dirty lines in git-commentJune McEnroe 2021-09-08Document and install git-commentJune McEnroe 2021-09-08Add repeat and all options to git-commentJune McEnroe 2021-09-08Add group threshold to git-commentJune McEnroe.profile?id=4124394943bd5092cbaa0d01000c117cde21a30e&follow=1'>Set less search case-insensitiveJune McEnroe 2021-01-10Set EXINITJune McEnroe 2021-01-09Add c -t flag to print expression typeJune McEnroe 2021-01-05Update taglineJune McEnroe