I just wrote and deployed my first module for the Prosody XMPP server. Dubbed "Big Brother" for obvious reasons, the module enables Prosody to store all incoming and outgoing messages of all users of the server. See the short project description or the slightly longer README file for more information.

And don't ridicule the code too much. I am just learning Lua.