From 48e72a1d7ba60029163e904148300f1ed3a79d4c Mon Sep 17 00:00:00 2001 From: Matthew Wild Date: Wed, 31 Aug 2016 16:10:00 +0100 Subject: storagemanager: Fix for previous commit --- core/storagemanager.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'core') 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; -- cgit v1.2.3