aboutsummaryrefslogtreecommitdiffstats
path: root/core/componentmanager.lua
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2009-04-08 23:20:22 +0100
committerMatthew Wild <mwild1@gmail.com>2009-04-08 23:20:22 +0100
commit921fe046e5e580f57bd20353ec1997c356c02e64 (patch)
tree7d45dca20909451cfa4b5fa05355357f4374ec31 /core/componentmanager.lua
parentedd59b5d381bd8b0daee063a99f8678f86f6b9bb (diff)
downloadprosody-921fe046e5e580f57bd20353ec1997c356c02e64.tar.gz
prosody-921fe046e5e580f57bd20353ec1997c356c02e64.zip
sessionmanager, componentmanager: Fix some wacky indentation (thanks greyback!)
Diffstat (limited to 'core/componentmanager.lua')
-rw-r--r--core/componentmanager.lua6
1 files changed, 3 insertions, 3 deletions
diff --git a/core/componentmanager.lua b/core/componentmanager.lua
index 5efb1f51..1da8cd6f 100644
--- a/core/componentmanager.lua
+++ b/core/componentmanager.lua
@@ -73,9 +73,9 @@ function handle_stanza(origin, stanza)
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)