summary refs log tree commit diff
path: root/ignore.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--ignore.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/ignore.c b/ignore.c
index f91b089..7fecb16 100644
--- a/ignore.c
+++ b/ignore.c
@@ -72,6 +72,7 @@ bool ignoreRemove(const char *pattern) {
 }
 
 enum Heat ignoreCheck(enum Heat heat, uint id, const struct Message *msg) {
+	if (!ignore.len) return heat;
 	char match[512];
 	snprintf(
 		match, sizeof(match), "%s!%s@%s %s %s %s",
span='3' class='logmsg'> 2022-06-02Use stderr instead of /dev/tty, realloc buffer if lines too longJune McEnroe For some reason I haven't been able to figure out, trying to poll /dev/tty returns POLLNVAL (and this was using 100% CPU looping), but using stderr instead works fine. 2022-06-02Add initial working version of qfJune McEnroe 2022-05-29Set prompt for okshJune McEnroe