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
0979f8fa
Commit
0979f8fa
authored
Apr 13, 2015
by
Matt Lowe
Browse files
Updated return value
parent
53352c5f
Changes
1
Hide whitespace changes
Inline
Side-by-side
servatrice/src/servatrice_database_interface.cpp
View file @
0979f8fa
...
@@ -113,7 +113,7 @@ bool Servatrice_DatabaseInterface::usernameIsValid(const QString &user)
...
@@ -113,7 +113,7 @@ bool Servatrice_DatabaseInterface::usernameIsValid(const QString &user)
}
}
}
}
result
=
result
.
trimmed
();
result
=
result
.
trimmed
();
return
(
result
.
size
()
>
0
);
return
(
result
.
size
()
==
user
.
size
()
);
}
}
bool
Servatrice_DatabaseInterface
::
getRequireRegistration
()
bool
Servatrice_DatabaseInterface
::
getRequireRegistration
()
...
...
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