aboutsummaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2012-03-03 00:01:10 +0100
committerKim Alvefur <zash@zash.se>2012-03-03 00:01:10 +0100
commitfc74613190a83799ed7c80c98776f7ce8f65fbdb (patch)
tree5f560562015b55ebeb1b80c40cbf09dbd810f45c /plugins
parentdce98578a0bd920f0e94b396ba8536835d31c58c (diff)
downloadprosody-fc74613190a83799ed7c80c98776f7ce8f65fbdb.tar.gz
prosody-fc74613190a83799ed7c80c98776f7ce8f65fbdb.zip
mod_dialback: Remove unused import of s2smanager.send_to_host()
Diffstat (limited to 'plugins')
-rw-r--r--plugins/mod_dialback.lua2
1 files changed, 0 insertions, 2 deletions
diff --git a/plugins/mod_dialback.lua b/plugins/mod_dialback.lua
index 977e58c3..eccfd3d6 100644
--- a/plugins/mod_dialback.lua
+++ b/plugins/mod_dialback.lua
@@ -9,7 +9,6 @@
local format = string.format;
local hosts = _G.hosts;
-local send_s2s = require "core.s2smanager".send_to_host;
local s2s_make_authenticated = require "core.s2smanager".make_authenticated;
local log = module._log;
@@ -87,7 +86,6 @@ module:hook("stanza/jabber:server:dialback:result", function(event)
end
origin.log("debug", "asking %s if key %s belongs to them", attr.from, stanza[1]);
- --send_s2s(attr.to, attr.from,
origin.send(st.stanza("db:verify", { from = attr.to, to = attr.from, id = origin.streamid }):text(stanza[1]));
return true;
end