quit negative why?

These are old archives. They are kept for historic purposes only.
Post Reply
akin
Posts: 33
Joined: Wed Jun 22, 2005 8:41 am

quit negative why?

Post by akin »

Unreal3.2.4

Code: Select all

*** Quits: shaquele_oneaLvJ (.) 
 

Code: Select all

spamfilter { 
        regex "\."; 
        target quit; 
        reason "exit."; 
        action gline; 
}; 
negative :( why?
Jason
Posts: 570
Joined: Mon Jun 14, 2004 5:09 pm

Post by Jason »

Are you sure you wanted to block ALL quits with . anywhere in them?

Try ^\.$
Why the hell can't my signature be empty?
"Your message contains too few characters."
akin
Posts: 33
Joined: Wed Jun 22, 2005 8:41 am

Post by akin »

Code: Select all

* Ur^^marllboro has quit IRC (.)
Jason
Posts: 570
Joined: Mon Jun 14, 2004 5:09 pm

Post 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):

Code: Select all

^\\.$
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.
Why the hell can't my signature be empty?
"Your message contains too few characters."
Post Reply