Lines Matching refs:modname
866 function config.enableModule(modname)
867 if modules[modname] == nil then
868 modules[modname] = {}
869 elseif modules[modname].load == "YES" then
870 modules[modname].force = true
874 modules[modname].load = "YES"
875 modules[modname].force = true
879 function config.disableModule(modname)
880 if modules[modname] == nil then
882 elseif modules[modname].load ~= "YES" then
886 modules[modname].load = "NO"
887 modules[modname].force = nil
891 function config.isModuleEnabled(modname)
892 local mod = modules[modname]
902 return not blacklist[modname]