Merge pull request #324 from TiagoTdA/master

Update/Refresh modules on unload
This commit is contained in:
Eduardo Bart 2013-04-13 18:11:47 -07:00
commit 0dccc870b5
1 changed files with 1 additions and 1 deletions

View File

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