From d1a89e8f9c898545d2ef3c9c3e8740a04f19628b Mon Sep 17 00:00:00 2001 From: Waqas Hussain Date: Fri, 15 Jun 2012 02:53:57 +0500 Subject: mod_dialback: Skip an unnecessary nameprep. --- plugins/mod_dialback.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/mod_dialback.lua b/plugins/mod_dialback.lua index 2299c0dc..67be15e3 100644 --- a/plugins/mod_dialback.lua +++ b/plugins/mod_dialback.lua @@ -84,7 +84,7 @@ module:hook("stanza/jabber:server:dialback:result", function(event) origin.from_host = from; end if not origin.to_host then - origin.to_host = nameprep(attr.to); + origin.to_host = to; end origin.log("debug", "asking %s if key %s belongs to them", from, stanza[1]); -- cgit v1.2.3