Page 1 of 1

Module to "filter" out things from channel topic?

Posted: Sat Apr 03, 2004 12:51 am
by Jedi
Anyway i could get a module created that would block certain words or numbers from being in a channel topic?

Spamfilter is great but the topic is being used as a loophole for spamming.

Posted: Sat Apr 03, 2004 4:17 am
by codemastr
My topicbadwords module available on http://www.codemastr.com/?page=module applies the badword channel {} settings to channel topics.

Posted: Sat Apr 03, 2004 6:26 am
by Jedi
thank you very much for a module like this. One question though...how do i make it work :P The read me only gives instructions on how to install it which i have. Do i edit the badwords.channel.conf file on each server after i load the module on each server so it will work?

Or how do you configure it :D

Posted: Sat Apr 03, 2004 11:18 am
by AngryWolf
Yes, and you've already answered your question. :-) If you understand how badwords filtering works in UnrealIRCd, then it's not difficult to guess how the same goes with topic messages. On the server where someone sets a new topic for a channel, the module checks if any badwords are found in it. That is, topic filtering is done locally, so you have to install the module and add the badword channel blocks on all servers to let them work globally.