# HG changeset patch # User Matthew Wild # Date 1260020085 0 # Node ID 265441f2ad48d250b4d699dbb3793f7ffff81667 # Parent 9f7eb1054a2f6c7543984e61e3c9972f97852f5e util.pluginloader: Don't specify a host for the plugin data store (clever waqas...) diff -r 9f7eb1054a2f -r 265441f2ad48 util/pluginloader.lua --- a/util/pluginloader.lua Fri Dec 04 19:04:03 2009 +0000 +++ b/util/pluginloader.lua Sat Dec 05 13:34:45 2009 +0000 @@ -17,7 +17,7 @@ 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 @@ store[k] = v; end end - datamanager.store(plugin.."/"..resource, "*", "plugins", store); + datamanager.store(plugin.."/"..resource, nil, "plugins", store); end function load_code(plugin, resource)