plugins/mod_component.lua
changeset 4757 5fb68e68ba0b
parent 4734 4d43dbd6de17
child 4803 39ba097ec641
--- 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'?>");