aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWaqas Hussain <waqas20@gmail.com>2010-12-02 16:32:42 +0500
committerWaqas Hussain <waqas20@gmail.com>2010-12-02 16:32:42 +0500
commitebca6cbbd07f0065366d6705162ab4ca4179f580 (patch)
treeb1252a792745c243d00e9f65755b827039b15602
parent517deefe9722296a8729ca0e7d255aadf91cd996 (diff)
downloadprosody-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).
-rw-r--r--core/modulemanager.lua2
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;