|
Senior Member
|
08-01-2012
, 17:05
Re: Simple Chat Filter
|
#8
|
tried using this, it loads fine but doesnt work; could be my config file.
one error in the source prevents the reload of the config;
line 111 has a spelling error: simple-chatfiler.cfg vs simple-chatfilter.cfg
so it cant find the config file if you use the reload command (but does on start up)
anyway, the config i am using is pretty short:
//This is just a simple list of banned words.
//There should only be 1 word per line
//The method used is Regex and is caseless
f(?:uc|oo)k
\b\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}\b
<([A-Z][A-Z0-9]*)\b[^>]*>(.*?)</\1>
\b[A-Z0-9._%+-]+@[A-Z0-9.-]+\.[A-Z]{2,4}\b
my intent is to block ALL ip addresses and ALL urls. i also threw in a email block just to see if that worked.
i get no errors (except on reload, which is explained by the typo) but can still post ip addresses etc.
any ideas? or did i do the regex filters wrong? i copied them from the regex site.
ps just wanted to say i AM using the Simple Chat Processor (and the Simple Chat Colors plugin also if that matters)
[update] a newer snapshot fixed this, thanks
Last edited by markg; 09-07-2012 at 20:21.
|
|
|
|