The "serverban" Module (v4)

Description

This module adds extended ban s: (server) which check whether users are on a server matching the specified glob pattern.

Configuration

To load this module use the following <module> tag:

<module name="serverban">

<serverban>

The <serverban> tag defines settings about how the serverban module should behave. This tag can only be defined once.

Name Type Default Value Description
operonly Boolean No New in v4.10.0! Whether extended ban s: (server) can only be set by server operators.
Example Usage
<serverban operonly="no">

Extended Bans

Name Character Type Ban Syntax Description
server s Matching [!]server:<pattern> Checks whether users are on a server matching <pattern>.

Example Usage

Bans users on irc2.example.com from joining the channel:

/MODE #channel +b server:irc2.example.com