summaryrefslogtreecommitdiffstats
path: root/aconf/model/set.lua
diff options
context:
space:
mode:
Diffstat (limited to 'aconf/model/set.lua')
-rw-r--r--aconf/model/set.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/aconf/model/set.lua b/aconf/model/set.lua
index 8b51f12..897e1bf 100644
--- a/aconf/model/set.lua
+++ b/aconf/model/set.lua
@@ -1,5 +1,5 @@
--[[
-Copyright (c) 2012-2014 Kaarle Ritvanen
+Copyright (c) 2012-2015 Kaarle Ritvanen
See LICENSE file for license details
--]]
@@ -35,7 +35,7 @@ function M.Set:init(context, params)
local mt = getmetatable(self)
function mt.get(k, options)
- options = util.setdefaults(options or {}, {dereference=true})
+ options = util.setdefaults(options, {dereference=true})
local i, v = find(k)
if i then return mt.load(i, options) end
if options.create then return v end