spamfilter vercion ctcp

These are old archives. They are kept for historic purposes only.
Post Reply
cculha
Posts: 79
Joined: Tue Sep 13, 2005 1:16 am

spamfilter vercion ctcp

Post 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.
JanisB
Posts: 128
Joined: Fri Apr 22, 2005 9:05 am
Location: LV
Contact:

Post 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...
cculha
Posts: 79
Joined: Tue Sep 13, 2005 1:16 am

Post by cculha »

if anyone understand my problem : please help. thank you.
White_Magic
Posts: 267
Joined: Tue Jan 18, 2005 3:24 pm
Location: Scotland - United Kingdom

Post 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.
i spend 4 hrs a day gaming and 14hrs on irc, for 5days a week, im not an addict :D
cculha
Posts: 79
Joined: Tue Sep 13, 2005 1:16 am

Post 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.
aquanight
Official supporter
Posts: 862
Joined: Tue Mar 09, 2004 10:47 pm
Location: Boise, ID

Post by aquanight »

Regex:

Code: Select all

^[^\x01].*www\.
cculha
Posts: 79
Joined: Tue Sep 13, 2005 1:16 am

Post by cculha »

i think you didn't understand us.
Jason
Posts: 570
Joined: Mon Jun 14, 2004 5:09 pm

Post by Jason »

aquanight's regex will not match any ctcp reply.
Why the hell can't my signature be empty?
"Your message contains too few characters."
Post Reply