Mercurial > prosody-modules
view mod_log_auth/mod_log_auth.lua @ 978:c8f4502c764f
mod_pubsub_twitter: Wrap published item in an <item> element for pubsub
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Mon, 08 Apr 2013 14:45:00 +0100 |
parents | 41feaf7fd8ac |
children | 608d9019b0de |
line wrap: on
line source
module:hook("authentication-failure", function (event) module:log("info", "Failed authentication attempt (%s) from IP: %s", event.condition, event.session.ip); end);