summary refs log tree commit diff
path: root/chat.h
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2020-04-07 13:18:42 -0400
committerJune McEnroe <june@causal.agency>2020-04-07 13:18:42 -0400
commit73bda18110cfb52eecf7ad1089cd99d68f73e568 (patch)
tree6286531be4380ee6a92541bb262d2fecee896326 /chat.h
parentReset unreadSoft only on first unreadHard (diff)
downloadcatgirl-73bda18110cfb52eecf7ad1089cd99d68f73e568.tar.gz
catgirl-73bda18110cfb52eecf7ad1089cd99d68f73e568.zip
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.
Diffstat (limited to '')
-rw-r--r--chat.h2
1 files changed, 1 insertions, 1 deletions
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, ...)
ebe3c4bfb33101d62&follow=1'>Don't insert color codes for non-mentionsJune McEnroe 2020-02-11Take first two words in colorMentionsJune McEnroe 2020-02-11Use time_t for save signatureJune McEnroe 2020-02-11Set self.nick to * initiallyJune McEnroe 2020-02-11Define ColorCap instead of hardcoding 100June McEnroe 2020-02-11Move hash to top of chat.hJune McEnroe 2020-02-11Move base64 out of chat.hJune McEnroe 2020-02-11Move XDG_SUBDIR out of chat.hJune McEnroe 2020-02-11Fix whois idle unit calculationJune McEnroe 2020-02-11Cast towupper to wchar_tJune McEnroe 2020-02-11Cast set but unused variables to voidJune McEnroe 2020-02-11Declare strlcatJune McEnroe 2020-02-11Check if VDSUSP existsJune McEnroe 2020-02-11Fix completeReplace iterationJune McEnroe 2020-02-11Use pkg(8) to configure on FreeBSDJune McEnroe 2020-02-11Remove legacy codeJune McEnroe 2020-02-11Add INSTALLING section to READMEJune McEnroe