Mercurial > prosody-modules
view mod_log_auth/mod_log_auth.lua @ 1295:dfe1818962f5
mod_require_otr: New module to (attempt to) require that all messages are encrypted with OTR (credit for the idea goes to Gregory Maxwell on the liberationtech mailing list)
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Sat, 01 Feb 2014 04:42:30 +0500 |
parents | 608d9019b0de |
children | 322a076f53e8 |
line wrap: on
line source
module:hook("authentication-failure", function (event) module:log("info", "Failed authentication attempt (%s) from IP: %s", event.condition or "unknown-condition", event.session.ip or "?"); end);