From 8b490b146ef934b609acdaecec82670d4336e8a1 Mon Sep 17 00:00:00 2001 From: Matthew Wild Date: Tue, 4 May 2010 23:07:49 +0100 Subject: configmanager: Fix some wacky indentation --- core/configmanager.lua | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'core/configmanager.lua') 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() -- cgit v1.2.3