From 7be6d854c15df979cf2079efe9a282b208d7692d Mon Sep 17 00:00:00 2001 From: Matthew Wild Date: Sat, 5 Dec 2009 13:34:45 +0000 Subject: util.pluginloader: Don't specify a host for the plugin data store (clever waqas...) --- util/pluginloader.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'util/pluginloader.lua') diff --git a/util/pluginloader.lua b/util/pluginloader.lua index cffc4dfc..8c22c204 100644 --- a/util/pluginloader.lua +++ b/util/pluginloader.lua @@ -17,7 +17,7 @@ local datamanager = require "util.datamanager"; module "pluginloader" local function load_from_datastore(name) - local content = datamanager.load(name, "*", "plugins"); + local content = datamanager.load(name, nil, "plugins"); if not content or not content[1] then return nil, "Resource not found"; end return content[1], name; end @@ -57,7 +57,7 @@ function store_resource(plugin, resource, content, metadata) store[k] = v; end end - datamanager.store(plugin.."/"..resource, "*", "plugins", store); + datamanager.store(plugin.."/"..resource, nil, "plugins", store); end function load_code(plugin, resource) -- cgit v1.2.3