diff options
author | Matthew Wild <mwild1@gmail.com> | 2013-04-19 13:30:37 +0100 |
---|---|---|
committer | Matthew Wild <mwild1@gmail.com> | 2013-04-19 13:30:37 +0100 |
commit | bc2cf7ee1976a358b1bead2fb047e71576b66d10 (patch) | |
tree | fe4b6310322c843b8210c18bbfd48f79a2b91c3f /core/moduleapi.lua | |
parent | e8d4802c4d0c57b7c35b1aa0c77f111af1116d4c (diff) | |
parent | fb13c42bfd1c42d243d93c00d1a3bfd96f2177d7 (diff) | |
download | prosody-bc2cf7ee1976a358b1bead2fb047e71576b66d10.tar.gz prosody-bc2cf7ee1976a358b1bead2fb047e71576b66d10.zip |
Merge 0.9->trunk
Diffstat (limited to 'core/moduleapi.lua')
-rw-r--r-- | core/moduleapi.lua | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/core/moduleapi.lua b/core/moduleapi.lua index fa20c3cd..a8e6881e 100644 --- a/core/moduleapi.lua +++ b/core/moduleapi.lua @@ -337,4 +337,8 @@ function api:load_resource(path, mode) return io.open(path, mode); end +function api:open_store(name, type) + return storagemanager.open(self.host, name, type); +end + return api; |