diff options
author | Waqas Hussain <waqas20@gmail.com> | 2012-06-15 02:53:57 +0500 |
---|---|---|
committer | Waqas Hussain <waqas20@gmail.com> | 2012-06-15 02:53:57 +0500 |
commit | 2d789a8ad7af363f1805b2110a0c416de6549082 (patch) | |
tree | 16ad0a7552377218311862c97ddd765426dcaef2 /plugins | |
parent | 3d2e69a97ec9a0153cf862b7c3d619e7a736a996 (diff) | |
download | prosody-2d789a8ad7af363f1805b2110a0c416de6549082.tar.gz prosody-2d789a8ad7af363f1805b2110a0c416de6549082.zip |
mod_dialback: Skip an unnecessary nameprep.
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/mod_dialback.lua | 2 |
1 files changed, 1 insertions, 1 deletions
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]); |