Modules/1.1/filter pcre
From the makers of InspIRCd.
filter pcre module (InspIRCd-1.1 version)
| 1.1 Documentation | 1.2 Documentation | 2.0 Documentation | 2.1 Documentation |
| Return to the 1.1 Module List | |||
| Description
|
| Allows filtering of text from private and channel messages and notices, part messages and quit messages, for abuse prevention and realtime blocking of viruses and worms. |
| Configuration Tags
|
To use this module you should add the following tag to your Configuration file:
<include file="filter.conf"> You should then create a filter.conf file, which contains filter entries. The filter.conf is a standard styled config file, containing tags formatted like the one below: <keyword pattern="^qwerty$" reason="You qwertied!" action="gline" flags="pn" duration="1h6s"> The patterns used are perl compatible Regular Expressions which match against any PRIVMSG, PART, QUIT or NOTICE command. The action variable can be one of three values:
|
| Modes
|
| This module does not implement any extra user or channel modes. |
| Extended Bans (Extbans)
|
| This module implements no extended bans. |
| Special Notes
| ||||||
Please note that regular expressions are very resource intensive. Having a lot of regular expressions or a lot of users can impede performance. If performance is an issue and the matching patterns are not complex, please consider our lightweight m_filter module instead.
|

















