aboutsummaryrefslogtreecommitdiffstats
path: root/include/struct.h
diff options
context:
space:
mode:
authorGravatar Bram Matthys2005-12-09 20:21:37 +0000
committerGravatar Bram Matthys2005-12-09 20:21:37 +0000
commitb930f9a2fc7060738cabc00a5fe5845ec193d752 (patch)
tree9256da9697b45ff25c430a2c42cd01b627445734 /include/struct.h
parent- Reverting "Changed the way we build most of the .so's" feature, this caused... (diff)
downloadunrealircd-b930f9a2fc7060738cabc00a5fe5845ec193d752.tar.gz
unrealircd-b930f9a2fc7060738cabc00a5fe5845ec193d752.tar.bz2
unrealircd-b930f9a2fc7060738cabc00a5fe5845ec193d752.zip
- Added option to apply spamfilters to aliases as well (such as /MS, etc). To do so,
you have to put 'spamfilter yes;' in every alias block you want to get filtered. This is so you can have for example /MS filtered (due to heavy spam), while keeping /NS and /CS unfiltered. Reported by Homer (#0002496). - The memoserv aliases (/MS and /MEMOSERV) now have spamfiltering enabled by default.
Diffstat (limited to 'include/struct.h')
-rw-r--r--include/struct.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/struct.h b/include/struct.h
index a80289fb8..9d33b7f82 100644
--- a/include/struct.h
+++ b/include/struct.h
@@ -1314,6 +1314,7 @@ struct _configitem_alias {
ConfigItem_alias_format *format;
char *alias, *nick;
AliasType type;
+ unsigned int spamfilter:1;
};
struct _configitem_alias_format {