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 | 566fc32a4e01ed5c85f30d09e12bb3a56f7d6081 (patch) | |
tree | 1bf024d2390faa0ccd04d368e7c7f42fcce813fe /core | |
parent | 46e69d7017eb793885f52a5fd259a85cfdbc78ed (diff) | |
download | prosody-566fc32a4e01ed5c85f30d09e12bb3a56f7d6081.tar.gz prosody-566fc32a4e01ed5c85f30d09e12bb3a56f7d6081.zip |
modulemanager: Set module.loaded = false on unload
Diffstat (limited to 'core')
-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 |