From e4c7ca604b6c40c63491f03c41c5da1a537e507e Mon Sep 17 00:00:00 2001 From: "Tiago T. de Araujo" Date: Fri, 12 Apr 2013 21:27:10 -0300 Subject: [PATCH] Fix update on unload module --- modules/client_modulemanager/modulemanager.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/client_modulemanager/modulemanager.lua b/modules/client_modulemanager/modulemanager.lua index b2966ba2..cf1c2097 100644 --- a/modules/client_modulemanager/modulemanager.lua +++ b/modules/client_modulemanager/modulemanager.lua @@ -137,7 +137,7 @@ function unloadCurrentModule() local module = g_modules.getModule(focusedChild:getText()) if module then module:unload() - if ModuleManager == nil then return end + if modules.client_modulemanager == nil then return end updateModuleInfo(module:getName()) refreshLoadedModules() end