diff --git a/core/modulemanager.lua b/core/modulemanager.lua index b1416b326..57a44c29d 100644 --- a/core/modulemanager.lua +++ b/core/modulemanager.lua @@ -350,6 +350,10 @@ function api:add_event_hook(name, handler) event_hooks:set(self.host, self.name, name, handler, true); end +function api:fire_event(...) + return eventmanager.fire_event(...); +end + -------------------------------------------------------------------- local actions = {};