lobipay.blogg.se

Ejabberd message archiving
Ejabberd message archiving





ejabberd message archiving

Mod_pottymouth takes a cue from mod_filter and instead of applying an acl to message text, it applies a word blacklist to filter messages and sends them on their way.

ejabberd message archiving

This seemed like a common problem, but we couldn’t find any existing modules that had actually gone ahead and implemented this suggestion. All a profanity filter would need to do is hook into ejabberd to get the message text, strike out any profane words, and send it on it’s way. We looked up ‘mod_filter’ and found it’s an existing module that allows filtering of messages based on acl, so, in theory it’s pretty much the same logic for filtering for profanity. Most of the posts we found asked the question ‘where can I find this mod_shit?’, and were answered with the response ‘ndb, just modify mod_filter!’. All links pointed to the author’s homepage which returned a big fat 404. The elusive ‘mod_shit’ sounded like it would fit our needs, but unfortunately had disappeared from the net. A quick google for any existing modules to fulfill this requirement turned up a couple posts that referenced a module called ‘mod_shit’. Gamers have a reputation for colorful comments during the heat of battle, so profanity was something our client wanted to mitigate to provide an enjoyable experience for all players. One feature that we had down as a requirement that was not included out of the box was a profanity filter. We had a bit of experience with ejabberd in the past on a similar project and were we blown away like an uppercut off a bridge into a bed of spikes.Įjabberd is written in Erlang which is known for its high performance and availability, and comes with a variety of modules out of the box for common chat functionality (think multi-user chat, archiving, custom auth, and so on). Naturally we chose ejabberd to power the backend. Recently we had the opportunity to implement an in game chat system. Mod_pottymouth: Taking the shit talk out of Ejabberd







Ejabberd message archiving