aboutsummaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2017-03-23 01:30:58 +0100
committerKim Alvefur <zash@zash.se>2017-03-23 01:30:58 +0100
commit761779fef974a25ec1d96f93941cc54bb40ae0af (patch)
tree8907b93b95ab3e10a7e3fc7aaef48a769cd190b0 /core
parent2880ac5ebadc2b3eb7f4b05f80365c4847ee4b1d (diff)
parent886603192223eeb71f83997c6958bf120cb1c530 (diff)
downloadprosody-761779fef974a25ec1d96f93941cc54bb40ae0af.tar.gz
prosody-761779fef974a25ec1d96f93941cc54bb40ae0af.zip
Merge 0.10->trunk
Diffstat (limited to 'core')
-rw-r--r--core/storagemanager.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/storagemanager.lua b/core/storagemanager.lua
index f1b70615..1c0ef3bb 100644
--- a/core/storagemanager.lua
+++ b/core/storagemanager.lua
@@ -164,7 +164,7 @@ function open(host, store, typ)
end
if ret then
local event_data = { host = host, store_name = store, store_type = typ, store = ret };
- prosody.hosts[host].events.fire_event("store-opened", event_data);
+ hosts[host].events.fire_event("store-opened", event_data);
ret, err = event_data.store, event_data.store_err;
end
return ret, err;