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

Description

This module adds channel mode d (delaymsg) which prevents newly joined users from speaking until the specified number of seconds have passed.

Configuration

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

<module name="delaymsg">

<class>

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

Name Description
channels/ignore-delaymsg Allows server operators to send a message to a newly joined channel whilst channel mode d (delaymsg) is set.
Example Usage

Allows server operators with the class named BasicOper to send a message to a newly joined channel whilst channel mode d (delaymsg) is set.

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

<delaymsg>

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

Name Type Default Value Description
allownotice Boolean Yes Whether the delaymsg module also affects notices.
Example Usage
<delaymsg allownotice="yes">

Channel Modes

Name Character Type Parameter Syntax Usable By Description
delaymsg d Parameter <seconds> Channel operators Prevents newly joined users from speaking until <seconds> seconds have passed.

Example Usage

Prevents users from speaking for 60 seconds after joining:

/MODE #channel +d 60