# HG changeset patch # User Matthew Wild # Date 1327272949 0 # Node ID 05f5ec99da7778ee24a407dd2447b991c2b93764 # Parent 40905e7bf68021252ccd44d493f6d46f666997ba# Parent ddce5b1bdfca47eea9c66b6f7eeafeb77031495f Merge with trunk diff -r ddce5b1bdfca -r 05f5ec99da77 core/configmanager.lua --- a/core/configmanager.lua Sun Jan 22 19:50:08 2012 +0000 +++ b/core/configmanager.lua Sun Jan 22 22:55:49 2012 +0000 @@ -41,6 +41,9 @@ end function get(host, section, key) + if not key then + section, key = "core", section; + end local sec = config[host][section]; if sec then return sec[key];