aboutsummaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2010-05-04 23:07:49 +0100
committerMatthew Wild <mwild1@gmail.com>2010-05-04 23:07:49 +0100
commit8b490b146ef934b609acdaecec82670d4336e8a1 (patch)
tree50e5ad2ebcb873fe3c5ceb685781947acca8e093 /core
parent0772ba2e42ed267f4a0c41cb3eab574589a1e0f4 (diff)
downloadprosody-8b490b146ef934b609acdaecec82670d4336e8a1.tar.gz
prosody-8b490b146ef934b609acdaecec82670d4336e8a1.zip
configmanager: Fix some wacky indentation
Diffstat (limited to 'core')
-rw-r--r--core/configmanager.lua9
1 files changed, 5 insertions, 4 deletions
diff --git a/core/configmanager.lua b/core/configmanager.lua
index e7677df6..03532c0c 100644
--- a/core/configmanager.lua
+++ b/core/configmanager.lua
@@ -30,10 +30,11 @@ local host_mt = { __index = global_config };
-- When key not found in section, check key in global's section
function section_mt(section_name)
return { __index = function (t, k)
- local section = rawget(global_config, section_name);
- if not section then return nil; end
- return section[k];
- end };
+ local section = rawget(global_config, section_name);
+ if not section then return nil; end
+ return section[k];
+ end
+ };
end
function getconfig()