aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--core/moduleapi.lua2
1 files changed, 1 insertions, 1 deletions
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