InspIRCd v2 is coming to the end of its lifetime!

Fixes for security vulnerabilities will be provided until 2021-01-01 but after this date v2 will no longer be maintained.

InspIRCd v3 contains many new features including full support for all currently ratified IRCv3 extensions and WebSocket connections.

InspIRCd v3 installation instructions are available here and a list of breaking changes is available here.

The "shun" Module


This module adds the /SHUN command which allows server operators to prevent users from executing commands.


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

<module name="">


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

Name Type Default Value Description
affectsopers Boolean No Whether server operators are affected by shuns.
enabledcommands Text PING PONG QUIT A space-delimited list of commands that a shunned user is allowed to run.
notifyuser Boolean Yes Whether to notify shunned users that they are blocked from executing commands.

Example Usage

<shun affectsopers="no"
      enabledcommands="ADMIN PING PONG QUIT"


Name Parameter Count Syntax Description
SHUN 1-3 <pattern>[ [<duration>] <reason>] Allows server operators to add and remove shuns on nickname!username@hostname glob patterns.

Example Usage

Shuns users connecting from for one week:

/SHUN *!* 7d :Trolling is forbidden

Shuns users connecting from forever:

/SHUN *!* :Trolling is forbidden

Removes a shun on users connecting from

/SHUN *!*


Character Description
H Lists all shuns.

Special Notes

Shuns are expired lazily when a lookup happens for performance reasons. This means that expiry messages may display later than expected.