Page 1 of 1

Channel Topic Spam

Posted: Tue Mar 01, 2005 3:48 am
by MiNdErAsR
We have a problem with someone (bot maybe?) joining the network, and setting topics in every channel that is not +t...
[22:41:21] * Topic is 'akum...WaNt FrEe MoNeY? ---> <--- CLICK !'
[22:41:21] * Set by babytina23423 on Mon Feb 28 00:20:23
It seems we have quite a few channels without any modes set, and this topic came up a lot in /list. Can spamfilter stop this, or would it be better to force all channels to be +t upon creation?


Posted: Tue Mar 01, 2005 6:50 am
by aquanight
I think recent versions will apply channel badword{}'s (normally, the +G stuff) to channel topics. The difference being that the topic is always filtered and even channel operators cannot override it. Since badword supports regex, I think you could use that to filter the topics - at least until spamfilter supports a topic target (unless it does already?)...

*edit* Just checked the docs. Spamfilter does support topics.

Code: Select all

spamfilter {
    regex "WaNt FrEe MoNeY? *---> *www\.pay-me-to-click\.com *<--- *CLICK *!";
    target { topic; };
    action kill;
    reason "Spam bot";

Posted: Tue Mar 01, 2005 11:36 am
by MiNdErAsR
Ah yes, I see it now in the docs. However I'm getting an snotice saying, "Unknown target type 't'". I guess this is for a future build (we're running 3.2.2b)? Thanks for responding.

Posted: Tue Mar 01, 2005 4:00 pm
by Dukat
Yes, it's not in 3.2.2b, it will be in 3.2.3.