Diff

core/modulemanager.lua @ 4883:b798d59919b1

modulemanager: Components should inherit mod_s2s from global modules_enabled too
author Matthew Wild <mwild1@gmail.com>
date Wed, 16 May 2012 20:30:53 +0100
parent 4853:4ca9328e37d5
child 4893:98ff89ab5d1d
line wrap: on
line diff
--- a/core/modulemanager.lua	Wed May 16 20:17:07 2012 +0100
+++ b/core/modulemanager.lua	Wed May 16 20:30:53 2012 +0100
@@ -29,7 +29,7 @@
 local set = require "util.set";
 
 local autoload_modules = {"presence", "message", "iq", "offline", "c2s", "s2s"};
-local component_inheritable_modules = {"tls", "dialback", "iq"};
+local component_inheritable_modules = {"tls", "dialback", "iq", "s2s"};
 
 -- We need this to let modules access the real global namespace
 local _G = _G;