# HG changeset patch # User Matthew Wild # Date 1335448315 -3600 # Node ID 0e324923ff959020a28c4a94b9978527b22c64e5 # Parent d8fc9a1aabeba57bbbb33df6f7f639b970439180 moduleapi: Fix parameters to unhook_object_event() diff -r d8fc9a1aabeb -r 0e324923ff95 core/moduleapi.lua --- 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