summaryrefslogtreecommitdiff
path: root/src/core/ignore.h
diff options
context:
space:
mode:
authorailin-nemui <ailin-nemui@users.noreply.github.com>2018-06-15 14:28:09 +0200
committerGitHub <noreply@github.com>2018-06-15 14:28:09 +0200
commitb382bd12328c794b038a3dfd66adeec17f0b9324 (patch)
treebef59783a5d2a3b6e721c8c74c231d3234c3916f /src/core/ignore.h
parentdaf6ce86cb668d24f278dca91846fc7b8619757d (diff)
parentba2554dd1485259b95b4b37f281c989086b24739 (diff)
downloadirssi-master.zip
Merge pull request #884 from vague666/ignore_hiddenHEADmaster
Added HIDDEN level to ignores
Diffstat (limited to 'src/core/ignore.h')
-rw-r--r--src/core/ignore.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/core/ignore.h b/src/core/ignore.h
index 31171b58..958aa801 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 = 0x04, /* 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);