Changeset

3499:91c55ae31ef3

util.events: Fixed the exposed API for adding/removing sets of event handlers.
author Waqas Hussain <waqas20@gmail.com>
date Fri, 17 Sep 2010 04:09:58 +0500
parents 3498:3f52f3d9db5a
children 3500:a49ed9166820
files util/events.lua
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/util/events.lua	Fri Sep 17 04:09:58 2010 +0500
+++ b/util/events.lua	Fri Sep 17 04:09:58 2010 +0500
@@ -66,8 +66,8 @@
 	return {
 		add_handler = add_handler;
 		remove_handler = remove_handler;
-		add_plugin = add_plugin;
-		remove_plugin = remove_plugin;
+		add_handlers = add_handlers;
+		remove_handlers = remove_handlers;
 		fire_event = fire_event;
 		_handlers = handlers;
 		_event_map = event_map;