InspIRCd v4 is still early in development!

If you use this branch you may experience crashes, weird behaviour, and unannounced breaking changes.

You probably want to use InspIRCd v3 instead.

The "channelban" Module (v4)

Description

This module adds extended ban j: (channel) which checks whether users are in a channel matching the specified glob pattern.

Configuration

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

<module name="channelban">

This module requires no other configuration.

Extended Bans

Name Character Type Ban Syntax Description
channel j Matching [!]channel:<pattern> Checks whether users are in a channel matching <pattern>.

Example Usage

Bans users in #evil from joining the channel:

/MODE #channel +b j:#evil

Bans users that have channel operator status in #evil from joining the channel:

/MODE #channel +b j:@#evil