Changeset

7645:d7b1bc069c12

storagemanager: Fix for previous commit
author Matthew Wild <mwild1@gmail.com>
date Wed, 31 Aug 2016 16:10:00 +0100
parents 7644:90a4790c2329
children 7646:6210dfaec84f
files core/storagemanager.lua
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
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;