diff options
author | Matthew Wild <mwild1@gmail.com> | 2008-12-06 19:51:10 +0000 |
---|---|---|
committer | Matthew Wild <mwild1@gmail.com> | 2008-12-06 19:51:10 +0000 |
commit | de04023210a22c0ad9f31aca7c29016222c98e34 (patch) | |
tree | eac899d79b9560322afe36276ea8cb4ffb8c42dd /core | |
parent | dcc4ec1050829813fbc8ff74633d900a9c2678e9 (diff) | |
download | prosody-de04023210a22c0ad9f31aca7c29016222c98e34.tar.gz prosody-de04023210a22c0ad9f31aca7c29016222c98e34.zip |
Fix add_event_hook in module API
Diffstat (limited to 'core')
-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]; |