svn commit: r368579 - head/stand/lua

Kyle Evans kevans at FreeBSD.org
Sat Dec 12 14:53:35 UTC 2020


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")


More information about the svn-src-head mailing list