aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWaqas Hussain <waqas20@gmail.com>2010-09-17 04:09:58 +0500
committerWaqas Hussain <waqas20@gmail.com>2010-09-17 04:09:58 +0500
commit6f95b4de939b39798dfce8a779f31e6b7d71057a (patch)
tree719ba4b943921c2235ff45edfce459fffafb40aa
parentaf976e466d7c0a0ffadf51525a626d86f9414cd0 (diff)
downloadprosody-6f95b4de939b39798dfce8a779f31e6b7d71057a.tar.gz
prosody-6f95b4de939b39798dfce8a779f31e6b7d71057a.zip
util.events: Fixed the exposed API for adding/removing sets of event handlers.
-rw-r--r--util/events.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/util/events.lua b/util/events.lua
index 65b3b00b..a1da4d8a 100644
--- a/util/events.lua
+++ b/util/events.lua
@@ -66,8 +66,8 @@ function new()
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;