diff options
author | Waqas Hussain <waqas20@gmail.com> | 2010-12-02 16:32:42 +0500 |
---|---|---|
committer | Waqas Hussain <waqas20@gmail.com> | 2010-12-02 16:32:42 +0500 |
commit | 90006b5b1135284adac86cd0eca7b4cde91c7b77 (patch) | |
tree | 9a722c42ef6f773241e45efa22f3afc65260787c /core/modulemanager.lua | |
parent | 63ef5a507e2b49ac16db40feed9021d5c1e3b973 (diff) | |
download | prosody-90006b5b1135284adac86cd0eca7b4cde91c7b77.tar.gz prosody-90006b5b1135284adac86cd0eca7b4cde91c7b77.zip |
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).
Diffstat (limited to 'core/modulemanager.lua')
-rw-r--r-- | core/modulemanager.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/modulemanager.lua b/core/modulemanager.lua index 49ad12ac..b12cddf0 100644 --- a/core/modulemanager.lua +++ b/core/modulemanager.lua @@ -40,7 +40,7 @@ end 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; |