[ejabberd] Stopping bad words

Armando Di Cianno armando.dicianno at gmail.com
Tue May 10 19:55:57 MSD 2011

On Tue, May 10, 2011 at 10:49 AM, Manoj Philip
<manoj.philip at pipalresearch.com> wrote:
> I want to stop/block words (banned words) to be used by users by server. How can I successfully enable this...?

There was a "mod_shit.erl" floating around, but it seems that the site
it was hosted on is down.

You can write a filter module that uses the filter_packet ejabberd
hook. mod_filter.erl is a great example, although it filter on policy,
not message body verbage. Use it was an example, and you should be
able to match message stanzas with "bad words" pretty readily.

Discussion: http://www.ejabberd.im/mod_filter
Latest mod_filter.erl: http://yo.jabber.ru/bugzilla/attachment.cgi?id=284


> --
> Thanks & Regards,
> Philip | Pipal Research | : +91-(124)-460-5400 (Ext. 5490) | : +91-(981)-117-5270 | Email: manoj.philip at pipalresearch.com
> P please consider the environment before printing this e-mail
> The information in this e-mail is the property of PIPAL Research and is confidential and privileged. It is intended solely for the addressee. Access to this email by anyone else is unauthorized. If you are not the intended recipient, any disclosure, copying, distribution or any action taken in reliance on it is prohibited and will be unlawful. If you receive this message in error, please notify the sender immediately and delete all copies of this message.
> _______________________________________________
> ejabberd mailing list
> ejabberd at jabber.ru
> http://lists.jabber.ru/mailman/listinfo/ejabberd

More information about the ejabberd mailing list