mirror of
https://github.com/unrealircd/unrealircd.git
synced 2026-07-01 03:16:38 +02:00
- 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.
This commit is contained in:
@@ -1973,6 +1973,7 @@ link hub.mynet.com {
|
||||
alias <name> {
|
||||
target <nick-to-forward-to>;
|
||||
type <type-of-alias>;
|
||||
spamfilter <yes|no>;
|
||||
};</pre></p>
|
||||
<p>(Note: also see <a href="#includedirective">here</a> about the standard alias files UnrealIRCd has)</p>
|
||||
<p>The alias block [standard alias] allows you to forward a command to a user,
|
||||
@@ -1982,8 +1983,9 @@ alias <name> {
|
||||
forward to, alias::target can be left out. The alias::type specifies the type
|
||||
of alias, valid types are services (the user is on the services server), stats
|
||||
(the user is on the stats server), normal (the user is a normal user on
|
||||
any server), and channel (the target is a channel name). The alias block also has another
|
||||
purpose which is explained below.</p>
|
||||
any server), and channel (the target is a channel name). If alias::spamfilter (optional)
|
||||
is set to 'yes', then the spamfilters will be checked (default is 'no').<br>
|
||||
The alias block also has another purpose which is explained below.</p>
|
||||
<p>Syntax [command alias]:<br>
|
||||
<pre>
|
||||
alias <name> {
|
||||
@@ -1996,6 +1998,7 @@ alias <name> {
|
||||
...
|
||||
};
|
||||
type command;
|
||||
spamfilter <yes|no>;
|
||||
};</pre></p>
|
||||
<p>When the alias block is used in this format, it allows you a much broader range
|
||||
of usage. For example you can create aliases such as /identify. The alias::
|
||||
|
||||
Reference in New Issue
Block a user