Diff

core/modulemanager.lua @ 4665:6be91ca54613

modulemanager: Set module.loaded = false on unload
author Matthew Wild <mwild1@gmail.com>
date Mon, 23 Apr 2012 15:38:36 +0100
parent 4662:105423f77d46
child 4728:7c81b04a4fed
line wrap: on
line diff
--- 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