Diff

core/componentmanager.lua @ 970:5516f9e66482

sessionmanager, componentmanager: Fix some wacky indentation (thanks greyback!)
author Matthew Wild <mwild1@gmail.com>
date Wed, 08 Apr 2009 23:20:22 +0100
parent 961:b48ed2149d0a
child 982:dbbeb73952e6
line wrap: on
line diff
--- a/core/componentmanager.lua	Wed Apr 08 20:19:09 2009 +0100
+++ b/core/componentmanager.lua	Wed Apr 08 23:20:22 2009 +0100
@@ -73,9 +73,9 @@
 end
 
 function create_component(host, component)
-		-- TODO check for host well-formedness
-		local session = session or { type = "component", host = host, connected = true, s2sout = {}, send = component };
-		return session;
+	-- TODO check for host well-formedness
+	local session = session or { type = "component", host = host, connected = true, s2sout = {}, send = component };
+	return session;
 end
 
 function register_component(host, component, session)