summaryrefslogtreecommitdiff
path: root/src/core/ignore.h
diff options
context:
space:
mode:
authorTimo Sirainen <cras@irssi.org>2001-01-28 07:22:22 +0000
committercras <cras@dbcabf3a-b0e7-0310-adc4-f8d773084564>2001-01-28 07:22:22 +0000
commit56abbcd2e350ba2d46773c21243fc9ab0844e45f (patch)
tree02e557126a53948eaa502067a537982f5672cf9b /src/core/ignore.h
parent6c32ffdc4fd6f652ef8c02ecdd4b11014c8ec064 (diff)
downloadirssi-56abbcd2e350ba2d46773c21243fc9ab0844e45f.zip
Ignoring updates. Added support for nickmatch cache. One ignore can't
have both except and normal levels. Nick ignoring checks now with both old and new nicks. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1155 dbcabf3a-b0e7-0310-adc4-f8d773084564
Diffstat (limited to 'src/core/ignore.h')
-rw-r--r--src/core/ignore.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/core/ignore.h b/src/core/ignore.h
index 21433a06..f4aea3aa 100644
--- a/src/core/ignore.h
+++ b/src/core/ignore.h
@@ -6,17 +6,16 @@
#endif
typedef struct {
+ int level; /* ignore these levels */
char *mask; /* nick mask */
char *servertag; /* this is for autoignoring */
char **channels; /* ignore only in these channels */
char *pattern; /* text body must match this pattern */
- int level; /* ignore these levels */
- int except_level; /* don't ignore these levels */
-
int time; /* time in sec for temp ignores */
int time_tag;
+ unsigned int exception:1; /* *don't* ignore */
unsigned int regexp:1;
unsigned int fullword:1;
unsigned int replies:1; /* ignore replies to nick in channel */