# HG changeset patch # User Matthew Wild # Date 1335191916 -3600 # Node ID 6be91ca54613401a48bcec12ef68441b748fb6d3 # Parent 7438b3c68576d61f034d7b6662ad2ad2ccc4a5bc modulemanager: Set module.loaded = false on unload diff -r 7438b3c68576 -r 6be91ca54613 core/modulemanager.lua --- a/core/modulemanager.lua Mon Apr 23 14:16:59 2012 +0100 +++ b/core/modulemanager.lua Mon Apr 23 15:38:36 2012 +0100 @@ -110,6 +110,7 @@ end end end + mod.module.loaded = false; modulemap[host][name] = nil; return true; end