mirror of
https://github.com/ProjectSWGCore/NGECore2.git
synced 2026-08-04 05:16:21 -04:00
fix name reservation query .. i hope. :p
This commit is contained in:
@@ -356,7 +356,7 @@ public class CharacterService implements INetworkDispatch {
|
||||
|
||||
PreparedStatement ps2 = databaseConnection.preparedStatement("SELECT \"accountId\" FROM temp_reserved_char_names WHERE \"accountId\"!=? AND LOWER(\"firstName\")=?");
|
||||
ps2.setLong(1, accountId);
|
||||
ps2.setString(2, firstName);
|
||||
ps2.setString(2, firstName.toLowerCase());
|
||||
ResultSet resultSet2 = ps2.executeQuery();
|
||||
boolean isReserved = resultSet2.next();
|
||||
resultSet2.getStatement().close();
|
||||
|
||||
Reference in New Issue
Block a user