diff options
Diffstat (limited to 'core')
-rw-r--r-- | core/storagemanager.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/storagemanager.lua b/core/storagemanager.lua index 9e966037..94cea3b3 100644 --- a/core/storagemanager.lua +++ b/core/storagemanager.lua @@ -20,7 +20,7 @@ module("storagemanager") local default_driver_mt = {}; default_driver_mt.__index = default_driver_mt; function default_driver_mt:open(store) - return setmetatable({ host = self.host, store = self.store }, default_driver_mt); + return setmetatable({ host = self.host, store = store }, default_driver_mt); end function default_driver_mt:get(user) return olddm.load(user, self.host, self.store); end function default_driver_mt:set(user, data) return olddm.store(user, self.host, self.store, data); end |