From 6fac444ad02eb84863ea121e713664befc811ec4 Mon Sep 17 00:00:00 2001 From: got2bhockey Date: Fri, 12 Mar 2021 16:45:13 -0500 Subject: [PATCH] Fixed admin list parsing case-sensitivity --- squad-server/utils/admin-lists.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/squad-server/utils/admin-lists.js b/squad-server/utils/admin-lists.js index de70cd59..ff2a876b 100644 --- a/squad-server/utils/admin-lists.js +++ b/squad-server/utils/admin-lists.js @@ -53,7 +53,7 @@ export default async function fetchAdminLists(adminLists) { try { const group = groups[`${idx}-${m.groups.groupID}`]; const perms = {}; - for (const groupPerm of group) perms[groupPerm] = true; + for (const groupPerm of group) perms[groupPerm.toLowerCase()] = true; const steamID = m.groups.steamID; if (steamID in admins) {