Merge 0.9->trunk
authorKim Alvefur <zash@zash.se>
Fri, 19 Apr 2013 14:44:08 +0200
changeset 5499 063d1f706ba7
parent 5497 b42781a96174 (current diff)
parent 5498 2a67235e1d4d (diff)
child 5501 12a42421bede
Merge 0.9->trunk
--- a/core/moduleapi.lua	Fri Apr 19 13:30:37 2013 +0100
+++ b/core/moduleapi.lua	Fri Apr 19 14:44:08 2013 +0200
@@ -338,7 +338,7 @@
 end
 
 function api:open_store(name, type)
-	return storagemanager.open(self.host, name, type);
+	return storagemanager.open(self.host, name or self.name, type);
 end
 
 return api;