Modules/filter pcre
From the makers of InspIRCd.
(Redirected from PCRE Filter Module)
| 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:
|
| Additional Modes
|
| None |
| 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.
|
| Dependencies
|
| *PCRE - The Perl Compatible Regexp Library |
| Conflicts
|
| This module may not be used at the same time as m_filter.so. |

















