projects
/
prosody.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
8d6a51d
)
modulemanager: Fixed: Stanza modules were being auto-loaded for components (regressio...
author
Waqas Hussain
<waqas20@gmail.com>
Sat, 17 Oct 2009 20:19:03 +0000
(
01:19
+0500)
committer
Waqas Hussain
<waqas20@gmail.com>
Sat, 17 Oct 2009 20:19:03 +0000
(
01:19
+0500)
core/modulemanager.lua
patch
|
blob
|
history
diff --git
a/core/modulemanager.lua
b/core/modulemanager.lua
index 7c30cb379629d0949e878750013cb75e3af60a83..f703889f4d512a3ef67f309a8455389e930c00b8 100644
(file)
--- a/
core/modulemanager.lua
+++ b/
core/modulemanager.lua
@@
-65,9
+65,11
@@
function load_modules_for_host(host)
end
-- Load auto-loaded modules for this host
- for _, module in ipairs(autoload_modules) do
- if not disabled_set[module] then
- load(host, module);
+ if hosts[host].type == "local" then
+ for _, module in ipairs(autoload_modules) do
+ if not disabled_set[module] then
+ load(host, module);
+ end
end
end