Tue, 19 May 2009 11:50:22 +0100
modulemanager: Add module:fire_event() to module API
core/modulemanager.lua | file | annotate | diff | comparison | revisions |
--- a/core/modulemanager.lua Tue May 19 01:07:03 2009 +0500 +++ b/core/modulemanager.lua Tue May 19 11:50:22 2009 +0100 @@ -350,6 +350,10 @@ event_hooks:set(self.host, self.name, name, handler, true); end +function api:fire_event(...) + return eventmanager.fire_event(...); +end + -------------------------------------------------------------------- local actions = {};