Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Donald Haase
Cockatrice
Commits
72222c0b
Commit
72222c0b
authored
Apr 13, 2015
by
poixen
Browse files
Merge pull request #963 from poixen/unreg_usernames
Added "-" to allowed names
parents
cd49b2f7
53352c5f
Changes
1
Show whitespace changes
Inline
Side-by-side
servatrice/src/servatrice_database_interface.cpp
View file @
72222c0b
...
...
@@ -105,7 +105,8 @@ bool Servatrice_DatabaseInterface::usernameIsValid(const QString &user)
case
QChar
::
Letter_Uppercase
:
//[A-Z]
case
QChar
::
Letter_Lowercase
:
//[a-z]
case
QChar
::
Number_DecimalDigit
:
//[0-9]
case
QChar
::
Punctuation_Connector
:
//[-_]
case
QChar
::
Punctuation_Connector
:
//[_]
case
QChar
::
Punctuation_Dash
:
//[-]
result
+=
c
;
default:
break
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment