From 10aeb6cdab8fb09e2cc3ee2d8b2c68c395481c23 Mon Sep 17 00:00:00 2001 From: Kyle Evans Date: Sat, 12 Dec 2020 14:53:34 +0000 Subject: [PATCH] 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. --- stand/lua/config.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stand/lua/config.lua b/stand/lua/config.lua index 702543569c41..c7a638dd6534 100644 --- a/stand/lua/config.lua +++ b/stand/lua/config.lua @@ -718,7 +718,7 @@ function config.isModuleEnabled(modname) end local blacklist = getBlacklist() - return blacklist[modname] + return not blacklist[modname] end hook.registerType("config.loaded")