Fix update on unload module

This commit is contained in:
Tiago T. de Araujo 2013-04-12 21:27:10 -03:00
父節點 d427560b98
當前提交 e4c7ca604b
共有 1 個檔案被更改,包括 1 行新增1 行删除

查看文件

@ -137,7 +137,7 @@ function unloadCurrentModule()
local module = g_modules.getModule(focusedChild:getText()) local module = g_modules.getModule(focusedChild:getText())
if module then if module then
module:unload() module:unload()
if ModuleManager == nil then return end if modules.client_modulemanager == nil then return end
updateModuleInfo(module:getName()) updateModuleInfo(module:getName())
refreshLoadedModules() refreshLoadedModules()
end end