mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-06-26 00:23:55 -07:00
Updated return value
This commit is contained in:
parent
53352c5f71
commit
0979f8fa34
1 changed files with 1 additions and 1 deletions
|
|
@ -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()
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue