mirror of
https://github.com/irssi/irssi.git
synced 2026-08-20 00:52:30 +02:00
Autoignore fixes by fuchs (not tested, hope it works ;)
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1281 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
parent
a2a6c7e293
commit
fc17069cec
8 changed files with 125 additions and 313 deletions
|
|
@ -8,13 +8,14 @@
|
|||
typedef struct {
|
||||
int level; /* ignore these levels */
|
||||
char *mask; /* nick mask */
|
||||
char *servertag; /* this is for autoignoring */
|
||||
char *servertag; /* this is for autoignoring */
|
||||
char **channels; /* ignore only in these channels */
|
||||
char *pattern; /* text body must match this pattern */
|
||||
|
||||
int time; /* time in sec for temp ignores */
|
||||
int time_tag;
|
||||
|
||||
unsigned int autoignore:1;
|
||||
unsigned int exception:1; /* *don't* ignore */
|
||||
unsigned int regexp:1;
|
||||
unsigned int fullword:1;
|
||||
|
|
@ -32,6 +33,8 @@ int ignore_check(SERVER_REC *server, const char *nick, const char *host,
|
|||
|
||||
IGNORE_REC *ignore_find(const char *servertag, const char *mask, char **channels);
|
||||
|
||||
char *ignore_get_key(IGNORE_REC *rec);
|
||||
|
||||
void ignore_add_rec(IGNORE_REC *rec);
|
||||
void ignore_update_rec(IGNORE_REC *rec);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue