]> jfr.im git - solanum.git/blame - help/opers/extban
Revert "Accept expired certificates"
[solanum.git] / help / opers / extban
CommitLineData
9e970ffd
CM
1MODE <channel> <+|-><b|q|e|I> $[~]<type>[:<data>]
2
3Extended bans (ban conditionals) allow different checks than the usual
4nick!user@host or nick!user@ip match to determine whether someone should
5be banned, quieted, exempted or invited.
6
7Extended bans are of the form $[~]<type>[:<data>]. The <type> is one
8character (case insensitive) and determines the type of match. Most types
9allow or require an extra field <data>. If the tilde (~) is present, the
10result of the comparison will be negated, unless the ban is invalid in which
11case it will never match. Invalid bans are ones where <data> is missing but
12required or where <data> is otherwise invalid as noted below.
13
14Unless noted below, all types can be used with +b, +q, +e and +I.
15
16 extb Type - DESCRIPTION
17------------------------------------------------------------------------
18 $a - Matches all logged in users
19 $a:<mask> - Matches users logged in with a username matching the mask
20 (* and ? wildcards)
1175ff83 21 $c:<chan> - Matches users who are on the given channel
a6ad35e5 22 $g:<mask> - Matches as a normal ban but excludes logged in users
9e970ffd
CM
23 $o - Matches opers (most useful with +I)
24 $r:<mask> - Matches users with a realname (gecos) matching the mask
25 (* and ? wildcards); this can only be used with +b and +q
26 $s:<mask> - matches users connected to a server matching the mask
27 (* and ? wildcards); this can only be used with +b and +q
28 $j:<chan> - matches users who are or are not banned from a specified
29 channel
30 $x:<mask> - Bans all users with matching nick!user@host#gecos
31 $z - Matches all SSL users
32