Changeset

4665:6be91ca54613

modulemanager: Set module.loaded = false on unload
author Matthew Wild <mwild1@gmail.com>
date Mon, 23 Apr 2012 15:38:36 +0100
parents 4664:7438b3c68576
children 4666:fb522fbd495e
files core/modulemanager.lua
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
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