Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(irc): restrict the start of usernames even more #198

Merged
merged 1 commit into from
Jun 27, 2023

Conversation

TrueBrain
Copy link
Member

Turns out, they have to start with [a-zA-Z0-9].

Additionally, fixed a bug where if a discord name had more than one number, it was still an invalid nickname (missing + after the condition).

@TrueBrain TrueBrain force-pushed the actually-fix-username branch from bdf6512 to ff8a9d8 Compare June 27, 2023 09:15
Turns out, they have to start with [a-zA-Z0-9].
@TrueBrain TrueBrain force-pushed the actually-fix-username branch from ff8a9d8 to 0b75d6c Compare June 27, 2023 09:16
@TrueBrain TrueBrain merged commit abb439c into OpenTTD:main Jun 27, 2023
@TrueBrain TrueBrain deleted the actually-fix-username branch June 27, 2023 10:45
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.

2 participants