Skip to content

Commit

Permalink
fix: check if a CMDR name contains "cmdr" correctly
Browse files Browse the repository at this point in the history
  • Loading branch information
Peter253545 committed Dec 29, 2023
1 parent 5d13888 commit 75da28a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/helpers/Validators.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { UnprocessableEntityAPIError } from '../classes/APIError'
import RegexLiteral from './RegexLiteral'


const forbiddenCMDRNameComponents = ['[pc]', '[xb]', '[ps]', 'CMDR']
const forbiddenCMDRNameComponents = ['[pc]', '[xb]', '[ps]', 'cmdr']
const requiredQuoteFields = [
'message',
'author',
Expand Down

0 comments on commit 75da28a

Please sign in to comment.