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
-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;
> 2021-08-26Support DESTDIR in install/uninstallJune McEnroe 2021-08-26Add version number generatorJune McEnroe 2021-08-22Add ISC license headerJune McEnroe 2021-08-22Update to Linux man-pages 5.12Štěpán Němec 2021-06-21Add manuals for macOS 11.3June McEnroe 2021-05-08Update to OpenBSD 6.9June McEnroe 2021-04-26Update to Linux man-pages 5.11June McEnroe 2021-04-26Update to FreeBSD 13.0June McEnroe 2021-01-27Completely rewrite how manuals are fetched and installedJune McEnroe Also add section 6 manuals from NetBSD and OpenBSD! 2020-12-14Update to man-pages-posix 2017-aJune McEnroe 2020-12-14Update to OpenBSD 6.8June McEnroe 2020-12-14Update to NetBSD 9.1June McEnroe 2020-12-14Update to man-pages 5.09June McEnroe 2020-12-14Update to FreeBSD 12.2June McEnroe 2020-06-08Update to OpenBSD 6.7June McEnroe 2020-05-04Add hack for macOS to search extra man sectionsJune McEnroe 2020-05-04Don't clear MANSECTJune McEnroe