aboutsummaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2012-04-23 15:38:36 +0100
committerMatthew Wild <mwild1@gmail.com>2012-04-23 15:38:36 +0100
commit91d1035d7d501855d595d80aa985adfac6addfda (patch)
tree1bf024d2390faa0ccd04d368e7c7f42fcce813fe /core
parentc51dcd332fe2e74486fffa2cb3e7b9851813b544 (diff)
downloadprosody-91d1035d7d501855d595d80aa985adfac6addfda.tar.gz
prosody-91d1035d7d501855d595d80aa985adfac6addfda.zip
modulemanager: Set module.loaded = false on unload
Diffstat (limited to 'core')
-rw-r--r--core/modulemanager.lua1
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