Changeset

4757:5fb68e68ba0b

mod_component: Remove unused variable
author Matthew Wild <mwild1@gmail.com>
date Sat, 28 Apr 2012 03:13:59 +0100
parents 4756:f8ddaaa08a8e
children 4758:b8b050e76ee1
files plugins/mod_component.lua
diffstat 1 files changed, 0 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/plugins/mod_component.lua	Sat Apr 28 03:11:45 2012 +0100
+++ b/plugins/mod_component.lua	Sat Apr 28 03:13:59 2012 +0100
@@ -207,7 +207,6 @@
 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'?>");