diff options
Diffstat (limited to 'core')
-rw-r--r-- | core/modulemanager.lua | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/core/modulemanager.lua b/core/modulemanager.lua index b1416b32..57a44c29 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 = {}; |