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

Description

This module adds channel mode j (joinflood) which helps protect against spammers which mass-join channels.

Configuration

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

<module name="joinflood">

<joinflood>

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

Name Type Default Value Description
bootwait Duration 30s The time period to wait after booting before blocking join floods.
duration Duration 1m The time period that a channel should be locked for once a join flood has been detected.
splitwait Duration 30s The time period to wait after a netsplit before blocking join floods.
Example Usage
<joinflood bootwait="30s"
           duration="1m"
           splitwait="30s">

Channel Modes

Name Character Type Parameter Syntax Usable By Description
joinflood j Parameter <joins>:<seconds> Channel operators Prevents more than <joins> joins in the last <seconds> seconds.

Example Usage

Prevents more than two joins in the last five seconds:

/MODE #channel +j 2:5