aboutsummaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2012-04-28 03:13:59 +0100
committerMatthew Wild <mwild1@gmail.com>2012-04-28 03:13:59 +0100
commit0ef5422e6474f534b6bc900f743cbbf738bfef9f (patch)
treed0e7d0b253c07000f5fcd082cadfa18c32acef62 /plugins
parent0d4dfb4a886fa081ebd50aac4c5a0699895ddaa5 (diff)
downloadprosody-0ef5422e6474f534b6bc900f743cbbf738bfef9f.tar.gz
prosody-0ef5422e6474f534b6bc900f743cbbf738bfef9f.zip
mod_component: Remove unused variable
Diffstat (limited to 'plugins')
-rw-r--r--plugins/mod_component.lua1
1 files changed, 0 insertions, 1 deletions
diff --git a/plugins/mod_component.lua b/plugins/mod_component.lua
index 98eaa6de..6be68e39 100644
--- a/plugins/mod_component.lua
+++ b/plugins/mod_component.lua
@@ -207,7 +207,6 @@ local stream_xmlns_attr = {xmlns='urn:ietf:params:xml:ns:xmpp-streams'};
local default_stream_attr = { ["xmlns:stream"] = "http://etherx.jabber.org/streams", xmlns = stream_callbacks.default_ns, version = "1.0", id = "" };
local function session_close(session, reason)
if session.destroyed then return; end
- local log = session.log or log;
if session.conn then
if session.notopen then
session.send("<?xml version='1.0'?>");