Modules/2.0/chanfilter

From the makers of InspIRCd.
Jump to: navigation, search

chanfilter module (2.0 version)

Current Future
2.0 Documentation 3.0 Documentation
Return to the 2.0 Module List
Description
This module provides the channel mode +g (not to be confused with +G) which allows channel operators to choose which words to filter from their channel
Configuration Tags
This module does not require any extra configuration, beyond the <module> tag to load it.
Modes
Channel mode +g: This channel takes one parameter in the same way as modes +b and +o. You must specify a wildcard pattern to block as the parameter, and if any user (including ops) sends a line matching the wildcard pattern to the channel, the server will filter out their line, sending them the following message:
#channel Your message contained a censored word, and was blocked

As with all 'list' type modes, you may list the items which are set by using the mode with no parameters as follows:

MODE #channel +g

or

MODE #channel g
Extended Bans (Extbans)
This module implements no extended bans.
Commands
This module adds no extra commands.
Special Notes
Note that some clients can be easily confused by modes such as this as they do not read the 005 numeric correctly and know how many parameters to accept. If you are unsure of wether your client is able to deal with this mode, never set them along with other modes in the same line such as +o or +b.