Channel Topic Spam

These are old archives. They are kept for historic purposes only.
Post Reply
MiNdErAsR
Posts: 20
Joined: Thu Mar 11, 2004 2:18 pm
Location: New York

Channel Topic Spam

Post by MiNdErAsR » Tue Mar 01, 2005 3:48 am

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? ---> http://www.pay-me-to-click.com <--- 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?

TIA

aquanight
Official supporter
Posts: 862
Joined: Tue Mar 09, 2004 10:47 pm
Location: Boise, ID

Post by aquanight » Tue Mar 01, 2005 6:50 am

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";
};

MiNdErAsR
Posts: 20
Joined: Thu Mar 11, 2004 2:18 pm
Location: New York

Post by MiNdErAsR » Tue Mar 01, 2005 11:36 am

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.

Dukat
Posts: 1083
Joined: Tue Mar 16, 2004 5:44 pm
Location: Switzerland

Post by Dukat » Tue Mar 01, 2005 4:00 pm

Yes, it's not in 3.2.2b, it will be in 3.2.3.

Post Reply