Diff

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
line wrap: on
line diff
--- a/core/storagemanager.lua	Tue Mar 21 04:41:40 2017 +0100
+++ b/core/storagemanager.lua	Thu Mar 23 01:30:58 2017 +0100
@@ -164,7 +164,7 @@
 	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;