Changeset

5499:063d1f706ba7

Merge 0.9->trunk
author Kim Alvefur <zash@zash.se>
date Fri, 19 Apr 2013 14:44:08 +0200
parents 5497:b42781a96174 (current diff) 5498:2a67235e1d4d (diff)
children 5501:12a42421bede
files
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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;