Changeset

3801:ecb7f06c940c

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 3800:556287eed128
children 3802:530a74b60e45
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;