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
commit90006b5b1135284adac86cd0eca7b4cde91c7b77 (patch)
tree9a722c42ef6f773241e45efa22f3afc65260787c
parent63ef5a507e2b49ac16db40feed9021d5c1e3b973 (diff)
downloadprosody-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).
-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;