Changeset

4931:7a4f00168260

mod_dialback: Skip an unnecessary nameprep.
author Waqas Hussain <waqas20@gmail.com>
date Fri, 15 Jun 2012 02:53:57 +0500
parents 4930:42ac50c0382e
children 4932:212e81ac6ebb
files plugins/mod_dialback.lua
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
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]);