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


This module adds the /CLEARCHAN command which allows server operators to mass-punish the members of a channel.


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

<module name="clearchan">

This module requires no other configuration.


Name Parameter Count Syntax Description
CLEARCHAN 2-3 <channel> [<action>] [<reason>] Mass punishes the members of the specified channel.

The action parameter should be set to one of the following values:

Value Description
KILL Kill all members of the channel (default behaviour).
KICK Kick all members of the channel.
G G-line all members of the channel for one hour.
Z Z-line all members of the channel for one hour.

Example Usage

Kills all members of #spam:


Kicks all members of #spam:


G-lines all members of #spam with the reason "Spamming is bad":

/CLEARCHAN #spam G :Spamming is bad