Software /
code /
prosody
Changeset
2325:265441f2ad48
util.pluginloader: Don't specify a host for the plugin data store (clever waqas...)
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Sat, 05 Dec 2009 13:34:45 +0000 |
parents | 2324:9f7eb1054a2f |
children | 2326:814eaba0c777 2328:2804d81206d8 |
files | util/pluginloader.lua |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- 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)