modulemanager: Allow components to inherit mod_iq. This allows modules loaded on components to hook IQ stanza sub-events ("iq-set/bare/xmlns:tag", etc).

Thu, 02 Dec 2010 16:32:42 +0500

author
Waqas Hussain <waqas20@gmail.com>
date
Thu, 02 Dec 2010 16:32:42 +0500
changeset 3677
dad563ed54aa
parent 3676
13a1d90b4e1c
child 3678
ce04b8b144de

modulemanager: Allow components to inherit mod_iq. This allows modules loaded on components to hook IQ stanza sub-events ("iq-set/bare/xmlns:tag", etc).

core/modulemanager.lua file | annotate | diff | comparison | revisions
--- a/core/modulemanager.lua	Thu Dec 02 16:17:44 2010 +0500
+++ b/core/modulemanager.lua	Thu Dec 02 16:32:42 2010 +0500
@@ -40,7 +40,7 @@
 local array, set = require "util.array", require "util.set";
 
 local autoload_modules = {"presence", "message", "iq"};
-local component_inheritable_modules = {"tls", "dialback"};
+local component_inheritable_modules = {"tls", "dialback", "iq"};
 
 -- We need this to let modules access the real global namespace
 local _G = _G;

mercurial