diff options
author | Matthew Wild <mwild1@gmail.com> | 2010-05-04 23:07:49 +0100 |
---|---|---|
committer | Matthew Wild <mwild1@gmail.com> | 2010-05-04 23:07:49 +0100 |
commit | 8b490b146ef934b609acdaecec82670d4336e8a1 (patch) | |
tree | 50e5ad2ebcb873fe3c5ceb685781947acca8e093 | |
parent | 0772ba2e42ed267f4a0c41cb3eab574589a1e0f4 (diff) | |
download | prosody-8b490b146ef934b609acdaecec82670d4336e8a1.tar.gz prosody-8b490b146ef934b609acdaecec82670d4336e8a1.zip |
configmanager: Fix some wacky indentation
-rw-r--r-- | core/configmanager.lua | 9 |
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() |