From 73bda18110cfb52eecf7ad1089cd99d68f73e568 Mon Sep 17 00:00:00 2001 From: "C. McEnroe" Date: Tue, 7 Apr 2020 13:18:42 -0400 Subject: Check ignores against id Otherwise they do not work correctly for QUIT and NICK. This also lets you ignore private messages only by putting the nick in the third field. --- chat.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'chat.h') diff --git a/chat.h b/chat.h index 764f8ec..e0266ef 100644 --- a/chat.h +++ b/chat.h @@ -269,7 +269,7 @@ extern struct Ignore { } ignore; const char *ignoreAdd(const char *pattern); bool ignoreRemove(const char *pattern); -enum Heat ignoreCheck(enum Heat heat, const struct Message *msg); +enum Heat ignoreCheck(enum Heat heat, uint id, const struct Message *msg); extern bool logEnable; void logFormat(uint id, const time_t *time, const char *format, ...) -- cgit 1.4.1