diff options
Diffstat (limited to 'core/modulemanager.lua')
-rw-r--r-- | core/modulemanager.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/modulemanager.lua b/core/modulemanager.lua index b997c6e0..74d3176a 100644 --- a/core/modulemanager.lua +++ b/core/modulemanager.lua @@ -196,7 +196,7 @@ function api:add_feature(xmlns) end); end -api.add_event_hook = eventmanager.add_event_hook; +function api:add_event_hook (...) return eventmanager.add_event_hook(...); end local function _add_handler(module, origin_type, tag, xmlns, handler) local handlers = stanza_handlers[module.host]; |