diff options
author | Waqas Hussain <waqas20@gmail.com> | 2010-09-17 04:09:58 +0500 |
---|---|---|
committer | Waqas Hussain <waqas20@gmail.com> | 2010-09-17 04:09:58 +0500 |
commit | 6f95b4de939b39798dfce8a779f31e6b7d71057a (patch) | |
tree | 719ba4b943921c2235ff45edfce459fffafb40aa /util | |
parent | af976e466d7c0a0ffadf51525a626d86f9414cd0 (diff) | |
download | prosody-6f95b4de939b39798dfce8a779f31e6b7d71057a.tar.gz prosody-6f95b4de939b39798dfce8a779f31e6b7d71057a.zip |
util.events: Fixed the exposed API for adding/removing sets of event handlers.
Diffstat (limited to 'util')
-rw-r--r-- | util/events.lua | 4 |
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; |