# HG changeset patch # User Matthew Wild # Date 1237744469 0 # Node ID 50850f15340c3fe1513364b53a92a5012c88fd31 # Parent 3e2dac84017d4452877291da6db429b2f7676989 mod_component: Remove some commented code diff -r 3e2dac84017d -r 50850f15340c plugins/mod_component.lua --- a/plugins/mod_component.lua Sun Mar 22 15:33:38 2009 +0000 +++ b/plugins/mod_component.lua Sun Mar 22 17:54:29 2009 +0000 @@ -122,14 +122,6 @@ 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)