Software /
code /
prosody
Diff
core/moduleapi.lua @ 4708:0e324923ff95
moduleapi: Fix parameters to unhook_object_event()
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Thu, 26 Apr 2012 14:51:55 +0100 |
parent | 4707:d8fc9a1aabeb |
child | 4718:a9f6088a83e3 |
line wrap: on
line diff
--- a/core/moduleapi.lua Thu Apr 26 07:04:59 2012 +0100 +++ b/core/moduleapi.lua Thu Apr 26 14:51:55 2012 +0100 @@ -73,7 +73,7 @@ return object.add_handler(event, handler, priority); end -function api:unhook_object_event(event, handler) +function api:unhook_object_event(object, event, handler) return object.remove_handler(event, handler); end