File

mod_log_auth/mod_log_auth.lua @ 589:57ac609444c4

mod_smacks: Only advertise stream features when a stream is authenticated, and doesn't already have smacks enabled
author Matthew Wild <mwild1@gmail.com>
date Wed, 01 Feb 2012 23:27:23 +0000 (2012-02-01)
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);