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 "blockcolor" Module (v4)

Description

This module adds channel mode c (blockcolor) which allows channels to block messages which contain IRC formatting codes.

Configuration

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

<module name="blockcolor">

This module requires no other configuration.

Channel Modes

Name Character Type Parameter Syntax Usable By Description
blockcolor c Switch None Channel operators Enables blocking messages that contain IRC formatting codes.

Exemptions

Name Description
blockcolor Allows exempted users to send messages that contain IRC formatting codes.

Extended Bans

Name Character Type Ban Syntax Description
blockcolor c Acting [!]blockcolor:<mask> Bans <mask> from sending messages that contain IRC formatting codes.

Example Usage

Bans users matching *!*@example.com from sending messages that contain IRC formatting codes:

/MODE #channel +b c:*!*@example.com