aboutsummaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2013-04-19 13:30:37 +0100
committerMatthew Wild <mwild1@gmail.com>2013-04-19 13:30:37 +0100
commit5d47f4cd480305344b4fbc71c1cf942706444f31 (patch)
treefe4b6310322c843b8210c18bbfd48f79a2b91c3f /core
parent36f5626183cfd790106eddd85a5a301735004480 (diff)
parent81216b737e5ca2e73061b10935b45f7d9dd7b09f (diff)
downloadprosody-5d47f4cd480305344b4fbc71c1cf942706444f31.tar.gz
prosody-5d47f4cd480305344b4fbc71c1cf942706444f31.zip
Merge 0.9->trunk
Diffstat (limited to 'core')
-rw-r--r--core/moduleapi.lua4
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;