Skip to content

Fix the banned check in fixAllowed#54

Merged
tiennou merged 1 commit into
ScreepsMods:masterfrom
tiennou:fix/whitelist
May 13, 2026
Merged

Fix the banned check in fixAllowed#54
tiennou merged 1 commit into
ScreepsMods:masterfrom
tiennou:fix/whitelist

Conversation

@tiennou

@tiennou tiennou commented May 13, 2026

Copy link
Copy Markdown
Member

The check didn't account for user.banned being undefined, which made the condition always true, breaking the whitelist application entirely.

The check didn't account for `user.banned` being undefined, which made
the condition always true, breaking the whitelist application entirely.
@tiennou tiennou merged commit 6b9f0cf into ScreepsMods:master May 13, 2026
1 check passed
@tiennou tiennou deleted the fix/whitelist branch May 13, 2026 12:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant