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 "stripcolor" Module (v4)
Description
This module adds channel mode S
(stripcolor) which allows channels to strip IRC formatting codes from messages.
Configuration
To load this module use the following <module>
tag:
<module name="stripcolor">
This module requires no other configuration.
Channel Modes
Name | Character | Type | Parameter Syntax | Usable By | Description |
---|---|---|---|---|---|
stripcolor | S | Switch | None | Channel operators | Enables stripping of IRC formatting codes from channel messages. |
User Modes
Name | Character | Type | Parameter Syntax | Usable By | Description |
---|---|---|---|---|---|
u_stripcolor | S | Switch | None | Anyone | Enables stripping of IRC formatting codes from private messages. |
Exemptions
Name | Description |
---|---|
stripcolor | Allows exempted users to send messages that contain IRC formatting codes. |
Extended Bans
Name | Character | Type | Ban Syntax | Description |
---|---|---|---|---|
stripcolor | S | Acting | [!]stripcolor:<mask> | Strips IRC formatting codes from messages sent by users matching <mask>. |
Example Usage
Strips IRC formatting codes from users matching *!*@example.com
:
/MODE #channel +b S:*!*@example.com