Diff

plugins/mod_dialback.lua @ 4931:7a4f00168260

mod_dialback: Skip an unnecessary nameprep.
author Waqas Hussain <waqas20@gmail.com>
date Fri, 15 Jun 2012 02:53:57 +0500
parent 4851:8e3992ae7bf5
child 4993:5243b74a4cbb
line wrap: on
line diff
--- 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]);