plugins/mod_dialback.lua
changeset 4931 7a4f00168260
parent 4851 8e3992ae7bf5
child 4993 5243b74a4cbb
--- a/plugins/mod_dialback.lua	Wed Jun 13 11:47:04 2012 +0500
+++ b/plugins/mod_dialback.lua	Fri Jun 15 02:53:57 2012 +0500
@@ -84,7 +84,7 @@
 			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]);