The "noctcp" Module (v4)

Description

This module adds channel mode C (noctcp) which allows channels to block messages which contain CTCPs and user mode T (u_noctcp) which allows users to block private messages that contain CTCPs.

Configuration

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

<module name="noctcp">

<class>

This module extends the core <class:privs> field with the following values:

Name Description
channels/ignore-noctcp Allows server operators to send a CTCP to a channel with the C (noctcp) mode set.
users/ignore-noctcp Allows server operators to send a CTCP to a user with the T (u_noctcp) mode set.
Example Usage

Allows server operators with the class named BasicOper to send a CTCP to a channel or user with the respective mode set.

<class name="BasicOper"
       ...
       privs="... channels/ignore-noctcp users/ignore-noctcp ...">

Channel Modes

Name Character Type Parameter Syntax Usable By Description
noctcp C Switch None Channel operators Enables blocking channel messages that contain CTCPs.

User Modes

Name Character Type Parameter Syntax Usable By Description
u_noctcp T Switch None Anyone Enables blocking private messages that contain CTCPs.

Exemptions

Name Description
noctcp Allows exempted users to send messages that contain CTCPs.

Extended Bans

Name Character Type Ban Syntax Description
noctcp C Acting [!]noctcp:<mask> Bans <mask> from sending messages that contain CTCPs.

Example Usage

Bans users matching *!*@example.com from sending messages that contain CTCPs:

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

Special Notes

Actions (i.e. /ME) use a CTCP internally but are not blocked by this module.

If you have a user on your accept list they will be exempt from user mode C (noctcp).