diff options
author | Matthew Wild <mwild1@gmail.com> | 2009-01-07 15:14:24 +0000 |
---|---|---|
committer | Matthew Wild <mwild1@gmail.com> | 2009-01-07 15:14:24 +0000 |
commit | 96f91c20ad8e8fd71eee480ca56eacea606ada52 (patch) | |
tree | c8ae13fe7daf3b1c0a578a7cb441eebfe5cf3b7d | |
parent | 7c24c84226680524cdfc5e43c8fece0ee838ee8f (diff) | |
parent | 046e69447ea86916d08d0f834512794a588c6e4a (diff) | |
download | prosody-96f91c20ad8e8fd71eee480ca56eacea606ada52.tar.gz prosody-96f91c20ad8e8fd71eee480ca56eacea606ada52.zip |
Automated merge with http://waqas.ath.cx:8000/
-rw-r--r-- | core/modulemanager.lua | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/core/modulemanager.lua b/core/modulemanager.lua index f782f174..4d654ae0 100644 --- a/core/modulemanager.lua +++ b/core/modulemanager.lua @@ -80,7 +80,9 @@ function load_modules_for_host(host) local modules_enabled = config.get(host, "core", "modules_enabled"); if modules_enabled then for _, module in pairs(modules_enabled) do - load(host, module); + if not is_loaded(host, module) then + load(host, module); + end end end end |