Software /
code /
prosody
Diff
core/moduleapi.lua @ 5511:764bda4b28b8
Merge 0.9->trunk
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Tue, 23 Apr 2013 15:14:47 +0100 |
parent | 5498:2a67235e1d4d |
child | 5526:d54011a23b20 |
line wrap: on
line diff
--- a/core/moduleapi.lua Fri Apr 19 13:30:37 2013 +0100 +++ b/core/moduleapi.lua Tue Apr 23 15:14:47 2013 +0100 @@ -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;