Comparison

plugins/adhoc/mod_adhoc.lua @ 4926:58714123f600

mod_adhoc, mod_admin_adhoc, mod_announce: Use module:provides() to manage Ad-Hoc commands
author Florian Zeitz <florob@babelmonkeys.de>
date Tue, 12 Jun 2012 14:29:04 +0200
parent 4450:15547fba1f09
child 5760:e599d9a367cf
comparison
equal deleted inserted replaced
4923:760a1f367f02 4926:58714123f600
98 local function adhoc_removed(event) 98 local function adhoc_removed(event)
99 commands[event.item.node] = nil; 99 commands[event.item.node] = nil;
100 end 100 end
101 101
102 module:handle_items("adhoc", adhoc_added, adhoc_removed); 102 module:handle_items("adhoc", adhoc_added, adhoc_removed);
103 module:handle_items("adhoc-provider", adhoc_added, adhoc_removed);