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

Reserve Host[.* when renaming accounts #339

Merged
merged 1 commit into from
Jul 9, 2024
Merged

Conversation

Beherith
Copy link
Contributor

No description provided.

@@ -82,6 +82,7 @@ defmodule Teiserver.Chat.WordLib do
String.contains?(name, "[lm]") -> true
String.contains?(name, "[ts]") -> true
String.contains?(name, "[tei]") -> true
String.contains?(name, "Host[") -> true
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Somewhat of a nitpick, I think starts_with?/2 is more fitted for this. The other checks could also be changed to the same starts_with.

@geekingfrog geekingfrog mentioned this pull request Jul 5, 2024
6 tasks
@L-e-x-o-n L-e-x-o-n merged commit d644e45 into master Jul 9, 2024
1 of 3 checks passed
@L-e-x-o-n L-e-x-o-n deleted the ReservedHostNames branch August 1, 2024 18:00
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.

3 participants