# HG changeset patch # User Kim Alvefur # Date 1330729270 -3600 # Node ID 5650c290fe8e45711f38dd0c3ecdf8d5167bc387 # Parent da0528c59c5254953435750b67b045885e7e39e2 mod_dialback: Remove unused import of s2smanager.send_to_host() diff -r da0528c59c52 -r 5650c290fe8e plugins/mod_dialback.lua --- 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