diff options
author | Matthew Wild <mwild1@gmail.com> | 2009-03-22 17:54:29 +0000 |
---|---|---|
committer | Matthew Wild <mwild1@gmail.com> | 2009-03-22 17:54:29 +0000 |
commit | 7a764ade59a607930f9761e0d6be618b382097ce (patch) | |
tree | 5272d65392252566cd8ced0e14b0c4e1d890b1af /plugins/mod_component.lua | |
parent | f12ca3499f562964282d02084b07854a93d59c51 (diff) | |
download | prosody-7a764ade59a607930f9761e0d6be618b382097ce.tar.gz prosody-7a764ade59a607930f9761e0d6be618b382097ce.zip |
mod_component: Remove some commented code
Diffstat (limited to 'plugins/mod_component.lua')
-rw-r--r-- | plugins/mod_component.lua | 8 |
1 files changed, 0 insertions, 8 deletions
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) |