Software /
code /
prosody
Diff
core/storagemanager.lua @ 7645:d7b1bc069c12
storagemanager: Fix for previous commit
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Wed, 31 Aug 2016 16:10:00 +0100 |
parent | 7644:90a4790c2329 |
child | 7647:e9d7a409e236 |
child | 7947:24170d74b00b |
line wrap: on
line diff
--- a/core/storagemanager.lua Wed Aug 31 11:50:41 2016 +0100 +++ b/core/storagemanager.lua Wed Aug 31 16:10:00 2016 +0100 @@ -163,7 +163,7 @@ 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;