Allow licence

This commit is contained in:
rubenwardy
2025-07-02 21:19:04 +01:00
parent 424a70793a
commit 159558a156

View File

@@ -25,7 +25,7 @@ from .config import parse_conf
from .translation import Translation, parse_tr
basenamePattern = re.compile("^([a-z0-9_]+)$")
licensePattern = re.compile("^license[^/.]*(\.(txt|md))?$", re.IGNORECASE)
licensePattern = re.compile("^licen[sc]e[^/.]*(\.(txt|md))?$", re.IGNORECASE)
DISALLOWED_NAMES = {
"core", "minetest", "group", "table", "string", "lua", "luajit", "assert", "debug",