Changeset

914:50850f15340c

mod_component: Remove some commented code
author Matthew Wild <mwild1@gmail.com>
date Sun, 22 Mar 2009 17:54:29 +0000
parents 913:3e2dac84017d
children 915:0fe5bf7ab81d
files plugins/mod_component.lua
diffstat 1 files changed, 0 insertions(+), 8 deletions(-) [+]
line wrap: on
line diff
--- 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)