Changeset

3677:dad563ed54aa

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).
author Waqas Hussain <waqas20@gmail.com>
date Thu, 02 Dec 2010 16:32:42 +0500
parents 3676:13a1d90b4e1c
children 3678:ce04b8b144de
files core/modulemanager.lua
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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;