Skip to content

Commit

Permalink
Fixed admin list parsing case-sensitivity
Browse files Browse the repository at this point in the history
  • Loading branch information
got2bhockey committed Mar 12, 2021
1 parent c170a65 commit 6fac444
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion squad-server/utils/admin-lists.js
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 6fac444

Please sign in to comment.