Software /
code /
prosody
Changeset
4579:5650c290fe8e
mod_dialback: Remove unused import of s2smanager.send_to_host()
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Sat, 03 Mar 2012 00:01:10 +0100 |
parents | 4578:da0528c59c52 |
children | 4580:351936a8de4a |
files | plugins/mod_dialback.lua |
diffstat | 1 files changed, 0 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/plugins/mod_dialback.lua Thu Mar 01 00:14:53 2012 +0100 +++ b/plugins/mod_dialback.lua Sat Mar 03 00:01:10 2012 +0100 @@ -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 @@ 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