lualoader: config: fix module enabled check
A last minute rewrite left this logically wrong; if it's present in modules_blacklist, then we do not load it.
This commit is contained in:
parent
51f2b3e80a
commit
f282efad7f
@ -718,7 +718,7 @@ function config.isModuleEnabled(modname)
|
||||
end
|
||||
|
||||
local blacklist = getBlacklist()
|
||||
return blacklist[modname]
|
||||
return not blacklist[modname]
|
||||
end
|
||||
|
||||
hook.registerType("config.loaded")
|
||||
|
Loading…
Reference in New Issue
Block a user