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
This module requires no other configuration.
|CLEARCHAN||2-3|| ||Mass punishes the members of the specified channel.|
The action parameter should be set to one of the following values:
|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.|
Kills all members of #spam:
Kicks all members of #spam:
/CLEARCHAN #spam KICK
G-lines all members of #spam with the reason "Spamming is bad":
/CLEARCHAN #spam G :Spamming is bad