Lines Matching refs:modname
755 function config.enableModule(modname)
756 if modules[modname] == nil then
757 modules[modname] = {}
758 elseif modules[modname].load == "YES" then
759 modules[modname].force = true
763 modules[modname].load = "YES"
764 modules[modname].force = true
768 function config.disableModule(modname)
769 if modules[modname] == nil then
771 elseif modules[modname].load ~= "YES" then
775 modules[modname].load = "NO"
776 modules[modname].force = nil
780 function config.isModuleEnabled(modname)
781 local mod = modules[modname]
791 return not blacklist[modname]