diff options
author | Matthew Wild <mwild1@gmail.com> | 2012-04-23 15:38:36 +0100 |
---|---|---|
committer | Matthew Wild <mwild1@gmail.com> | 2012-04-23 15:38:36 +0100 |
commit | 91d1035d7d501855d595d80aa985adfac6addfda (patch) | |
tree | 1bf024d2390faa0ccd04d368e7c7f42fcce813fe | |
parent | c51dcd332fe2e74486fffa2cb3e7b9851813b544 (diff) | |
download | prosody-91d1035d7d501855d595d80aa985adfac6addfda.tar.gz prosody-91d1035d7d501855d595d80aa985adfac6addfda.zip |
modulemanager: Set module.loaded = false on unload
-rw-r--r-- | core/modulemanager.lua | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/core/modulemanager.lua b/core/modulemanager.lua index f0648667..bf1e1924 100644 --- a/core/modulemanager.lua +++ b/core/modulemanager.lua @@ -110,6 +110,7 @@ local function do_unload_module(host, name) end end end + mod.module.loaded = false; modulemap[host][name] = nil; return true; end |