Mercurial > prosody-modules
view mod_log_auth/mod_log_auth.lua @ 491:5b3db688213d
mod_ircd: Fixed nick change logic (thanks mva), so that the self nick-change "flag" is removed properly, improved the logic to use verse's room_mt:change_nick (thanks Zash) yet to be pushed into main, added squished verse with the meta method included.
author | Marco Cirillo <maranda@lightwitch.org> |
---|---|
date | Fri, 02 Dec 2011 20:53:09 +0000 |
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);