aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/mod_dialback.lua
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2012-07-08 18:49:44 +0100
committerMatthew Wild <mwild1@gmail.com>2012-07-08 18:49:44 +0100
commit158ead42cf434bb38735bf529c3c61d6ee45e1b0 (patch)
tree1b780be536dea23b0e32d06cee9eeef6bc0ec5a1 /plugins/mod_dialback.lua
parent2fcd8af884edb9278d2c0cb770c879c43badd2c2 (diff)
parent9726ab31dbf3a4874ce78e1bd5174f80a366cdd5 (diff)
downloadprosody-158ead42cf434bb38735bf529c3c61d6ee45e1b0.tar.gz
prosody-158ead42cf434bb38735bf529c3c61d6ee45e1b0.zip
Merge 0.9->trunk
Diffstat (limited to 'plugins/mod_dialback.lua')
-rw-r--r--plugins/mod_dialback.lua2
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]);