mod_dialback: Remove unused import of s2smanager.send_to_host()
authorKim Alvefur <zash@zash.se>
Sat, 03 Mar 2012 00:01:10 +0100
changeset 4579 5650c290fe8e
parent 4578 da0528c59c52
child 4580 351936a8de4a
mod_dialback: Remove unused import of s2smanager.send_to_host()
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