view mod_log_auth/mod_log_auth.lua @ 1369:8be609f5610e

mod_mam, mod_mam_muc: Check that storagemanager didn't return an instance of the null storage method (Thanks Jonathan)
author Kim Alvefur <zash@zash.se>
date Sun, 23 Mar 2014 22:35:27 +0100
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);