banning game links

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

banning game links

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

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 William!Stealths@netadmin.---------.com)

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 William!Stealths@netadmin.---------.com)
°

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 » 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:

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

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

William

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}!Stealths@netadmin.wikkedwire.com http://www\..+\..com/linkconfigure\.php?link=.+

I can't get it to work :\

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

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

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

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

Post Reply