File

mod_log_auth/mod_log_auth.lua @ 559:6be3a130c810

mod_mam: Store the message id more accessible.
author Kim Alvefur <zash@zash.se>
date Sun, 15 Jan 2012 20:21:53 +0100
parent 407:41feaf7fd8ac
child 1097: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);