Skip to content

Commit

Permalink
#3622: Revert "#3256: Allow - and . in online mode as some accounts s…
Browse files Browse the repository at this point in the history
…till have these…"

This reverts commit f4f94d3.
  • Loading branch information
Outfluencer committed Mar 11, 2024
1 parent 22536c1 commit ffa011c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ private static boolean isNameAllowedCharacter(char c, boolean onlineMode)
{
if ( onlineMode )
{
return ( c >= 'a' && c <= 'z' ) || ( c >= '0' && c <= '9' ) || ( c >= 'A' && c <= 'Z' ) || c == '_' || c == '.' || c == '-';
return ( c >= 'a' && c <= 'z' ) || ( c >= '0' && c <= '9' ) || ( c >= 'A' && c <= 'Z' ) || c == '_';
} else
{
// Don't allow spaces, Yaml config doesn't support them
Expand Down

0 comments on commit ffa011c

Please sign in to comment.