1
0
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:
Bram Matthys
2005-12-09 20:21:37 +00:00
parent 704918754c
commit b930f9a2fc
11 changed files with 59 additions and 22 deletions
+5 -2
View File
@@ -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 &lt;name&gt; {
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 &lt;name&gt; {
@@ -1996,6 +1998,7 @@ alias &lt;name&gt; {
...
};
type command;
spamfilter &lt;yes|no&gt;;
};</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::