Mercurial > prosody-modules
changeset 995:716a2b9cc18d
mod_register_json: fix logging message for already pending registrations' bounces.
author | Marco Cirillo <maranda@lightwitch.org> |
---|---|
date | Sun, 05 May 2013 15:19:30 +0200 |
parents | 487cd02aada0 |
children | 37af655ca575 |
files | mod_register_json/register_json/mod_register_json.lua |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/mod_register_json/register_json/mod_register_json.lua Sun May 05 11:23:50 2013 +0200 +++ b/mod_register_json/register_json/mod_register_json.lua Sun May 05 15:19:30 2013 +0200 @@ -133,7 +133,7 @@ return http_response(event, 406, "Supplied username contains invalid characters, see RFC 6122.") else if pending_node[username] then - module:log("warn", "%s attempted to submit a registration request but another request for that user is pending") + module:log("warn", "%s attempted to submit a registration request but another request for that user (%s) is pending", ip, username) return http_response(event, 401, "Another user registration by that username is pending.") end