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

Description

This module adds user modes d (deaf) and D (privdeaf) which prevents users from receiving channel (deaf) or private (privdeaf) messages.

Configuration

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

<module name="deaf">

<deaf>

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

Name Type Default Value Description
bypasschars Text None A list of characters that a message to a normal user can begin with that exempt it from the deaf mode.
servicebypasschars Text None A list of characters that a message to a services user can begin with that exempt it from the deaf mode.
privdeafservice Boolean Yes Whether users on a services servers are exempt from user mode D (privdeaf).
Example Usage
<deaf bypasschars="!."
      servicebypasschars="!."
      privdeafservice="yes">

<class>

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

Name Description
users/ignore-privdeaf Allows server operators to message users with the D (privdeaf) mode set.
Example Usage

Allows server operators with the class named BasicOper to message users with the D (privdeaf) mode set.

<class name="BasicOper"
       ...
       privs="... users/ignore-privdeaf ...">

User Modes

Name Character Type Parameter Syntax Usable By Description
deaf d Switch None Anyone Prevents the user from receiving channel messages.
privdeaf D Switch None Anyone Prevents the user from receiving private messages.