Current version: 0.4
Antispam protection for chat messages and user info checker based on PCRE pattern matching.
Open plugins.conf in your favourite text editor and add this line:
plugin /usr/lib/uhub/mod_patterns.so "file=/etc/uhub/patterns.db"
Parameter | Description |
---|---|
file | Path/filename for the database containing rules |
Command | Description |
---|---|
!patternadd <type> <min credentials> <max credentials> <pattern> | Add forbidden pattern. Range of credentials between min and max are protected (inclusive). |
!patterndel <pattern id> | Delete forbidden pattern. |
!patternlist | List forbidden patterns. |
!patterntest <pattern id> <test string> | List forbidden patterns. |
!patternexadd <pattern id> <min credentials> <max credentials> <exception pattern> | Add exception to a forbidden pattern. Range of credentials between min and max are affected (inclusive). |
!patternexdel <exception id> | Delete pattern exception. |
!patternexlist | List pattern exceptions. |