echoIRCd

Extended bans

Extbans extend +b (and the +e / +I exceptions) beyond a plain nick!user@host mask. Use them as MODE <#channel> +b <letter>:<value>. The server advertises EXTBAN=,aGAbcgjmnrsy and ACCOUNTEXTBAN=a.

There are two kinds. Matching extbans decide whether a user matches (for a ban or an exception); acting extbans restrict a specific action instead of blocking the join.

Matching extbans#

LetterNameMatches
aaccountA services account glob, e.g. +b a:spammer (a user with no account never matches)
gsecuritygroupMembers of a named security group, e.g. +b g:<name>
yreputationA reputation-score range, e.g. +b y:<100, +b y:>500
rrealnameA real-name (GECOS) glob, e.g. +b r:*spammer*
jchannelUsers also in another channel; an optional status prefix narrows by rank, e.g. +b j:@#staff
sserverUsers on a given server name, e.g. +b s:irc.example.net
GgeoipA country code, e.g. +b G:<cc> (needs a GeoIP database)
AasnAn origin AS number
bbanlistUsers caught by another channel's ban list, e.g. +b b:#staff (non-recursive)

Acting extbans#

These gate an action for matching users rather than blocking their join. An +e exception with the same letter:value cancels the restriction.

LetterNameRestricts
mmuteMatching users below voice may not send channel messages
cblockcolorMatching users may not send messages containing colour/formatting
nnonickMatching users may not change nick while in the channel