aboutsummaryrefslogtreecommitdiffstats
path: root/util
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2009-12-05 13:34:45 +0000
committerMatthew Wild <mwild1@gmail.com>2009-12-05 13:34:45 +0000
commit7be6d854c15df979cf2079efe9a282b208d7692d (patch)
tree1c84e28f5cff7925b19cea956e810ac6a9ac29df /util
parent7ce19513add53bf4206abbc3c692fdad7941709d (diff)
downloadprosody-7be6d854c15df979cf2079efe9a282b208d7692d.tar.gz
prosody-7be6d854c15df979cf2079efe9a282b208d7692d.zip
util.pluginloader: Don't specify a host for the plugin data store (clever waqas...)
Diffstat (limited to 'util')
-rw-r--r--util/pluginloader.lua4
1 files changed, 2 insertions, 2 deletions
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)