ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/svn/ircd-hybrid/trunk/help/extban
Revision: 9234
Committed: Fri Jan 31 17:38:34 2020 UTC (6 years, 8 months ago) by michael
File size: 1304 byte(s)
Log Message:
- Extbans have been implemented. Main implementation done by Adam for p4.
  Currently supported extbans:

  Matching:

   $a:<account>   Matches users logged into a matching account.
   $c:<channel>   Matches users that are on the given channel. An additional
                  prefix of either @, %, or + can be specified to test for
                  certain channel privileges.
   $o:<class>     Matches IRC operators that have joined a class
                  matching the mask.
   $r:<realname>  Matches users with a matching realname.
   $s:<server>    Matches users that are connected to a server matching the mask.
   $u:<modes>     Matches users having the specified user modes set or not set.
   $z:<certfp>    Matches users having the given TLS certificate fingerprint.

  Acting:

   $j:<banmask>   Prevents matching users from joining the channel.
   $m:<banmask>   Blocks messages from matching users. Users with voice
                  or above are not affected.

File Contents

# Content
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 $u:<modes> Matches users having the specified user modes set or not set.
25
26 $z:<certfp> Matches users having the given TLS certificate fingerprint.
27
28 Acting extbans:
29
30 $j:<banmask> Prevents matching users from joining the channel.
31
32 $m:<banmask> Blocks messages from matching users. Users with voice
33 or above are not affected.
34
35 A ban given to an acting extban may either be a nick!user@host mask,
36 matched against users as a normal ban, or a matching extban.