Software /
code /
prosody
Comparison
core/storagemanager.lua @ 7999:980606856882
Merge 0.10->trunk
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Thu, 23 Mar 2017 01:30:58 +0100 |
parent | 7950:f91e7ec9654e |
parent | 7994:3325ac397f17 |
child | 8555:4f0f5b49bb03 |
comparison
equal
deleted
inserted
replaced
7990:3d17b2bf0e0c | 7999:980606856882 |
---|---|
162 end | 162 end |
163 end | 163 end |
164 end | 164 end |
165 if ret then | 165 if ret then |
166 local event_data = { host = host, store_name = store, store_type = typ, store = ret }; | 166 local event_data = { host = host, store_name = store, store_type = typ, store = ret }; |
167 prosody.hosts[host].events.fire_event("store-opened", event_data); | 167 hosts[host].events.fire_event("store-opened", event_data); |
168 ret, err = event_data.store, event_data.store_err; | 168 ret, err = event_data.store, event_data.store_err; |
169 end | 169 end |
170 return ret, err; | 170 return ret, err; |
171 end | 171 end |
172 | 172 |