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 | ebca6cbbd07f0065366d6705162ab4ca4179f580 (patch) | |
tree | b1252a792745c243d00e9f65755b827039b15602 /core | |
parent | 517deefe9722296a8729ca0e7d255aadf91cd996 (diff) | |
download | prosody-ebca6cbbd07f0065366d6705162ab4ca4179f580.tar.gz prosody-ebca6cbbd07f0065366d6705162ab4ca4179f580.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')
-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; |