From 1ab99fe8b668463b3e72586426d2b4dff8c5be54 Mon Sep 17 00:00:00 2001 From: Matthew Wild Date: Thu, 26 Apr 2012 14:51:55 +0100 Subject: moduleapi: Fix parameters to unhook_object_event() --- core/moduleapi.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/moduleapi.lua b/core/moduleapi.lua index 1c676bc3..8e76a247 100644 --- a/core/moduleapi.lua +++ b/core/moduleapi.lua @@ -73,7 +73,7 @@ function api:hook_object_event(object, event, handler, priority) 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 -- cgit v1.2.3