Date: Sat, 12 Dec 2020 14:53:34 +0000 (UTC) From: Kyle Evans <kevans@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r368579 - head/stand/lua Message-ID: <202012121453.0BCErZxw035483@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: kevans Date: Sat Dec 12 14:53:34 2020 New Revision: 368579 URL: https://svnweb.freebsd.org/changeset/base/368579 Log: 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. Modified: head/stand/lua/config.lua Modified: head/stand/lua/config.lua ============================================================================== --- head/stand/lua/config.lua Sat Dec 12 11:51:29 2020 (r368578) +++ head/stand/lua/config.lua Sat Dec 12 14:53:34 2020 (r368579) @@ -718,7 +718,7 @@ function config.isModuleEnabled(modname) end local blacklist = getBlacklist() - return blacklist[modname] + return not blacklist[modname] end hook.registerType("config.loaded")
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202012121453.0BCErZxw035483>