Small fix (#262)

This commit is contained in:
Víctor Calheiros
2018-10-10 11:41:46 -03:00
committed by Ronan Lana
parent d7b6089ada
commit 17d3ffe1c3

View File

@@ -523,7 +523,7 @@ public class MapleClient {
ResultSet rs = null;
try {
con = DatabaseConnection.getConnection();
ps = con.prepareStatement("SELECT id, password, salt, gender, banned, pin, pic, characterslots, tos FROM accounts WHERE name = ?");
ps = con.prepareStatement("SELECT id, password, gender, banned, pin, pic, characterslots, tos FROM accounts WHERE name = ?");
ps.setString(1, login);
rs = ps.executeQuery();
if (rs.next()) {