aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/mod_dialback.lua
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2012-05-11 01:32:46 +0100
committerMatthew Wild <mwild1@gmail.com>2012-05-11 01:32:46 +0100
commit163e1b4789466fe274179ab789a6dd435ef91700 (patch)
treea0564ac0d43d718d122652133cc4c3a5453f8995 /plugins/mod_dialback.lua
parentbd53859e5720ca585724a410c2af28b2156be206 (diff)
parent04bfcc280a54656435168beac16f65fc9e71acfc (diff)
downloadprosody-163e1b4789466fe274179ab789a6dd435ef91700.tar.gz
prosody-163e1b4789466fe274179ab789a6dd435ef91700.zip
Merge with backout
Diffstat (limited to 'plugins/mod_dialback.lua')
-rw-r--r--plugins/mod_dialback.lua4
1 files changed, 1 insertions, 3 deletions
diff --git a/plugins/mod_dialback.lua b/plugins/mod_dialback.lua
index f3b9e3cf..8c683d8a 100644
--- a/plugins/mod_dialback.lua
+++ b/plugins/mod_dialback.lua
@@ -79,9 +79,7 @@ module:hook("stanza/jabber:server:dialback:result", function(event)
local compat_check;
if not origin.from_host then
-- Just used for friendlier logging
- origin.from_host = nameprep(attr.from);
- -- COMPAT: Fix server's chopness by not including from
- compat_check = true;
+ origin.from_host = attr.from;
end
if not origin.to_host then
-- Just used for friendlier logging