diff options
author | Matthew Wild <mwild1@gmail.com> | 2016-08-31 16:10:00 +0100 |
---|---|---|
committer | Matthew Wild <mwild1@gmail.com> | 2016-08-31 16:10:00 +0100 |
commit | 48e72a1d7ba60029163e904148300f1ed3a79d4c (patch) | |
tree | b53a11a8a040e61c138db14e87b10c5ea4cb74af /core/storagemanager.lua | |
parent | 21f08b2dfe144c8988dfa1cfafe10d15687e3542 (diff) | |
download | prosody-48e72a1d7ba60029163e904148300f1ed3a79d4c.tar.gz prosody-48e72a1d7ba60029163e904148300f1ed3a79d4c.zip |
storagemanager: Fix for previous commit
Diffstat (limited to 'core/storagemanager.lua')
-rw-r--r-- | core/storagemanager.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/storagemanager.lua b/core/storagemanager.lua index 255a9a49..319046b9 100644 --- a/core/storagemanager.lua +++ b/core/storagemanager.lua @@ -163,7 +163,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].fire_event("store-opened", event_data); + prosody.hosts[host].events.fire_event("store-opened", event_data); ret, err = event_data.store, event_data.store_err; end return ret, err; |