Changeset

4708:0e324923ff95

moduleapi: Fix parameters to unhook_object_event()
author Matthew Wild <mwild1@gmail.com>
date Thu, 26 Apr 2012 14:51:55 +0100
parents 4707:d8fc9a1aabeb
children 4709:98bfebb38705
files core/moduleapi.lua
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
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