Page 1 of 1
quit negative why?
Posted: Mon Apr 10, 2006 9:58 am
by akin
Unreal3.2.4
Code: Select all
spamfilter {
regex "\.";
target quit;
reason "exit.";
action gline;
};
negative

why?
Posted: Tue Apr 11, 2006 3:29 am
by Jason
Are you sure you wanted to block ALL quits with . anywhere in them?
Try ^\.$
Posted: Tue Apr 11, 2006 7:20 am
by akin
Posted: Tue Apr 11, 2006 9:47 pm
by Jason
Yes, the first example was sufficient. My comment didn't refer to matching the message you gave us, but to your pattern's extraordinary potential for false positives.
It would match:
.
Hello.
Welcome. This is not my quit message.
I eat moss. Do you?
Try this regular expression (for your config, not the command):
Or this command (as an IRCop with the GLINE privilege):
Code: Select all
/spamfilter + q gline 7d You_irritate_me. ^\.$
Also: A spamfilter in your configuration file will not match anything on other servers on your network. The command will.