1 |
Extbans are split into two types: matching extbans, which match on |
2 |
users in different ways, and acting extbans, which restrict users |
3 |
in different ways to a standard ban. |
4 |
|
5 |
To use an extban, simply set +b/e/I <ban> with it as the ban, |
6 |
instead of a normal nick!user@host mask, to ban or exempt matching |
7 |
users. |
8 |
|
9 |
Matching extbans: |
10 |
|
11 |
$a:<account> Matches users logged into a matching account. |
12 |
|
13 |
$c:<channel> Matches users that are on the given channel. An additional |
14 |
prefix of either @, %, or + can be specified to test for |
15 |
certain channel privileges. |
16 |
|
17 |
$o:<class> Matches IRC operators that have joined a class |
18 |
matching the mask. |
19 |
|
20 |
$r:<realname> Matches users with a matching realname. |
21 |
|
22 |
$s:<server> Matches users that are connected to a server matching the mask. |
23 |
|
24 |
$t:<tlsinfo> Matches users based on TLS protocol version and/or cipher suite. |
25 |
|
26 |
$u:<modes> Matches users having the specified user modes set or not set. |
27 |
|
28 |
$z:<certfp> Matches users having the given TLS certificate fingerprint. |
29 |
|
30 |
Acting extbans: |
31 |
|
32 |
$j:<banmask> Prevents matching users from joining the channel. |
33 |
|
34 |
$m:<banmask> Blocks messages from matching users. Users with voice |
35 |
or above are not affected. |
36 |
|
37 |
$n:<banmask> Prevents matching users from changing their nicks. Users with |
38 |
voice or above are not affected. |
39 |
|
40 |
A ban given to an acting extban may either be a nick!user@host mask, |
41 |
matched against users as a normal ban, or a matching extban. |