# HG changeset patch # User Marco Cirillo # Date 1367759970 -7200 # Node ID 716a2b9cc18d5b667cf28027bf211d1bcfcd7b99 # Parent 487cd02aada020e84c6ce91ed0d0762fa6b71d75 mod_register_json: fix logging message for already pending registrations' bounces. diff -r 487cd02aada0 -r 716a2b9cc18d mod_register_json/register_json/mod_register_json.lua --- 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