fix: allow digits in usernames

This commit is contained in:
2025-11-27 00:34:50 +02:00
parent 01e74ca451
commit 492b45c101

View File

@@ -12,7 +12,7 @@ for l in io.lines(conf) do
l = l:match "^%s*(.-)%s*$";
if l ~= "" then
local user, params = l:match "^([%a_]+)%s+=%s+(.*)$";
local user, params = l:match "^([%a%d_]+)%s+=%s+(.*)$";
if not user then
error(conf .. ":" .. i .. ": invalid syntax", 0);
end