From 7a764ade59a607930f9761e0d6be618b382097ce Mon Sep 17 00:00:00 2001 From: Matthew Wild Date: Sun, 22 Mar 2009 17:54:29 +0000 Subject: mod_component: Remove some commented code --- plugins/mod_component.lua | 8 -------- 1 file changed, 8 deletions(-) (limited to 'plugins/mod_component.lua') diff --git a/plugins/mod_component.lua b/plugins/mod_component.lua index 90a2f3b1..5b59ca70 100644 --- a/plugins/mod_component.lua +++ b/plugins/mod_component.lua @@ -122,14 +122,6 @@ end module:add_handler("component", "handshake", xmlns_component, handle_component_auth); ---[[ --- Helper function to deal with errors processing component stanzas -local function handleerr(err) log("error", "Traceback[component]: %s: %s", tostring(err), debug.traceback()); end -function stream_callbacks.handlestanza(a, b) - xpcall(function () core_process_stanza(a, b) end, handleerr); -end -]] - --- Closing a component connection local stream_xmlns_attr = {xmlns='urn:ietf:params:xml:ns:xmpp-streams'}; local function session_close(session, reason) -- cgit v1.2.3