Software /
code /
prosody
Diff
plugins/mod_dialback.lua @ 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 |
parent | 4567:24617f360200 |
child | 4584:9a5de6509aa8 |
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