Diff

plugins/mod_dialback.lua @ 4949:521976cb56e6

Merge 0.9->trunk
author Matthew Wild <mwild1@gmail.com>
date Sun, 08 Jul 2012 18:49:44 +0100
parent 4931:7a4f00168260
child 4993:5243b74a4cbb
line wrap: on
line diff
--- a/plugins/mod_dialback.lua	Sun Jul 08 18:48:28 2012 +0100
+++ b/plugins/mod_dialback.lua	Sun Jul 08 18:49:44 2012 +0100
@@ -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]);