From db3b671328d0e6890b17c23baf9d4280d086e89b Mon Sep 17 00:00:00 2001 From: vague666 Date: Tue, 5 Jun 2018 14:43:37 +0200 Subject: Added HIDDEN level to ignores --- src/core/ignore.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/core/ignore.h') diff --git a/src/core/ignore.h b/src/core/ignore.h index 31171b58..439927ed 100644 --- a/src/core/ignore.h +++ b/src/core/ignore.h @@ -29,6 +29,7 @@ int ignore_check(SERVER_REC *server, const char *nick, const char *host, enum { IGNORE_FIND_PATTERN = 0x01, /* Match the pattern */ IGNORE_FIND_NOACT = 0x02, /* Exclude the targets with NOACT level */ + IGNORE_FIND_HIDDEN = 0x03, /* Exclude the targets with HIDDEN level */ }; IGNORE_REC *ignore_find_full (const char *servertag, const char *mask, const char *pattern, @@ -38,6 +39,7 @@ IGNORE_REC *ignore_find_full (const char *servertag, const char *mask, const cha IGNORE_REC *ignore_find(const char *servertag, const char *mask, char **channels); IGNORE_REC *ignore_find_noact(const char *servertag, const char *mask, char **channels, int noact); +IGNORE_REC *ignore_find_hidden(const char *servertag, const char *mask, char **channels, int hidden); void ignore_add_rec(IGNORE_REC *rec); void ignore_update_rec(IGNORE_REC *rec); -- cgit v1.2.3