aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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