aboutsummaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2012-05-11 01:29:30 +0100
committerMatthew Wild <mwild1@gmail.com>2012-05-11 01:29:30 +0100
commit04bfcc280a54656435168beac16f65fc9e71acfc (patch)
treee74e1e5eec3718a1bddc2bd4d4ecae7f3309058b /plugins
parentdda71bf6d36d1395833a369eebf52fb011cc075f (diff)
downloadprosody-04bfcc280a54656435168beac16f65fc9e71acfc.tar.gz
prosody-04bfcc280a54656435168beac16f65fc9e71acfc.zip
Backed out changeset 751510cd558d - obsoleted by 5ef05f32bc42.
Diffstat (limited to 'plugins')
-rw-r--r--plugins/mod_dialback.lua3
1 files changed, 0 insertions, 3 deletions
diff --git a/plugins/mod_dialback.lua b/plugins/mod_dialback.lua
index cc076db5..35186c5e 100644
--- a/plugins/mod_dialback.lua
+++ b/plugins/mod_dialback.lua
@@ -78,9 +78,6 @@ module:hook("stanza/jabber:server:dialback:result", function(event)
if not origin.from_host then
-- Just used for friendlier logging
origin.from_host = attr.from;
- -- COMPAT: Fix ejabberd chopness by resetting the send function
- origin.log("debug", "Remote server didn't specify a from attr, resetting session.send now that we know where to knock to.");
- origin.send = function(stanza) hosts[attr.to].events.fire_event("route/remote", { from_host = origin.to_host, to_host = origin.from_host, stanza = stanza}); end
end
if not origin.to_host then
-- Just used for friendlier logging