util/pluginloader.lua
changeset 2325 265441f2ad48
parent 2276 d9302be05f86
child 2925 692b3c6c5bd2
--- 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)