Page 1 of 1

spamfilter vercion ctcp

Posted: Thu Oct 12, 2006 9:53 am
by cculha
i added a spamfilter ex: www. for private notice option

when this option. nobody can't send www. message in ctcp

i am using it in version checking.


i want nobody can't send any message www. in private notice


but everyone can send in ctcp. How can we set spamfilter like this.

spamfilter thinks ctcp is a notice. but ctcp is not a notice

i want to allow all the messages in ctcp

any answer? thank you.

Posted: Thu Oct 12, 2006 10:34 am
by JanisB
but ctcp is not a notice
O`RLY?!

Code: Select all

-> irc.lv PRIVMSG Gathers :VERSION                             # /ctcp Gathers VERSION
<- :[email protected] NOTICE Guest :VERSION eggdrop v1.6.17  # VERSION reply
If "NOTICE Guest :" isn't a notice - sorry...

Posted: Thu Oct 12, 2006 10:55 am
by cculha
if anyone understand my problem : please help. thank you.

Posted: Sun Oct 15, 2006 7:10 pm
by White_Magic
actually, you dont understand the problem...

A CTCP is a character sent INSIDE a command

the request is sent via Privmsg
the reply is sent via Notice

this is why the spamfilter is blocking the notice... this is ur problem.

Posted: Sun Oct 15, 2006 8:18 pm
by cculha
yes you are right.

the reply is sent via Notice


it is my problem also. i am telling unreal to change something in spamfilter for this. thank you.

Posted: Thu Oct 19, 2006 6:11 am
by aquanight
Regex:

Code: Select all

^[^\x01].*www\.

Posted: Thu Oct 19, 2006 10:19 am
by cculha
i think you didn't understand us.

Posted: Thu Oct 19, 2006 6:20 pm
by Jason
aquanight's regex will not match any ctcp reply.