banning game links

These are old archives. They are kept for historic purposes only.
Post Reply

banning game links

Post by William » Fri May 21, 2004 7:36 pm

I need to add a channel block for this: h**p://

*** Spamfilter added: 'http://www\..+\*' [target: cN] [action: block] [reason: Spam/advertising] on Fri May 21 19:27:30 2004 GMT (from William!

Won't work.. *** Spamfilter added: '*linkconfigure\.php*link=*' [target: cN] [action: block] [reason: DAOW links are not to be said in channels] on Fri May 21 19:33:24 2004 GMT (from William!

Won't work either.. so how can I do this?

Former UnrealIRCd head coder
Posts: 811
Joined: Sat Mar 06, 2004 8:47 pm
Location: United States

Post by codemastr » Fri May 21, 2004 9:35 pm

You need to understand what * does. It does not say "match anything" it says, "match 0 or more of the preceding character"

So of course when you place an * at the beginning it won't do as you expect, there is no preceding character! Try:


Also, make sure you have the target correct.
-- codemastr


Post by William » Sun May 23, 2004 3:00 am

F cN block 0 77277 86400 DAOW_SPAM_IS_NOT_ALLOWED_USE_PM William{A}! http://www\..+\\.php?link=.+

I can't get it to work :\

UnrealIRCd head coder
Posts: 1955
Joined: Sat Mar 06, 2004 8:57 pm
Location: .nl

Post by Syzop » Sun May 23, 2004 3:44 pm

It should be: http://www\..+\.com/linkconfigure\.php\?link=.+

- you had \
- you forgot to escape '?'

Post Reply