The "deaf" Module (v3)
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. |
bypasscharsuline | Text | None | A list of characters that a message to a U-lined user can begin with that exempt it from the deaf mode. |
enableprivdeaf | Boolean | No | Whether user mode D (privdeaf) is enabled. You must restart after changing this setting for it to be applied. |
privdeafuline | Boolean | Yes | Whether users on U-lined servers are exempt from user mode D (privdeaf). |
Example Usage
<deaf bypasschars="!."
bypasscharsuline="!."
enableprivdeaf="yes"
privdeafuline="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. |