Fix update on unload module

This commit is contained in:
Tiago T. de Araujo 2013-04-12 21:27:10 -03:00
parent d427560b98
commit e4c7ca604b
1 changed files with 1 additions and 1 deletions

View File

@ -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