diff options
Diffstat (limited to 'include')
| -rw-r--r-- | include/extern.h | 4 | ||||
| -rw-r--r-- | include/services.h | 4 |
2 files changed, 5 insertions, 3 deletions
diff --git a/include/extern.h b/include/extern.h index 4284b09de..a9a68a250 100644 --- a/include/extern.h +++ b/include/extern.h @@ -1007,10 +1007,12 @@ E int defconParseModeString(const char *str); /**** process.c ****/ E int allow_ignore; -E IgnoreData *ignore[]; +E IgnoreData *ignore; E void add_ignore(const char *nick, time_t delta); E IgnoreData *get_ignore(const char *nick); +E int delete_ignore(const char *nick); +E int clear_ignores(); E int split_buf(char *buf, char ***argv, int colon_special); E void process(void); diff --git a/include/services.h b/include/services.h index 3d8ee2be1..e1376f1bb 100644 --- a/include/services.h +++ b/include/services.h @@ -1036,8 +1036,8 @@ struct c_elist_entry { /* Ignorance list data. */ typedef struct ignore_data { - struct ignore_data *next; - char who[NICKMAX]; + struct ignore_data *prev, *next; + char *mask; time_t time; /* When do we stop ignoring them? */ } IgnoreData; |
