banning game links

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

banning game links

Post by William »

I need to add a channel block for this: h**p://www.darkageofwythia.com/linkconfigure.php?link=34396026

*** Spamfilter added: 'http://www\..+\..com/linkconfigure.php?link=*' [target: cN] [action: block] [reason: Spam/advertising] on Fri May 21 19:27:30 2004 GMT (from [email protected])

Won't work..

-nevada.---------.com- *** 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 [email protected])
°

Won't work either.. so how can I do this?
codemastr
Former UnrealIRCd head coder
Posts: 811
Joined: Sat Mar 06, 2004 8:47 pm
Location: United States
Contact:

Post by codemastr »

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:

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

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

Post by William »

F cN block 0 77277 86400 DAOW_SPAM_IS_NOT_ALLOWED_USE_PM William{A}![email protected] http://www\..+\..com/linkconfigure\.php?link=.+

I can't get it to work :\
Syzop
UnrealIRCd head coder
Posts: 2112
Joined: Sat Mar 06, 2004 8:57 pm
Location: .nl
Contact:

Post by Syzop »

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

- you had \..com
- you forgot to escape '?'
Post Reply