Small fix (#262)
This commit is contained in:
committed by
Ronan Lana
parent
d7b6089ada
commit
17d3ffe1c3
@@ -523,7 +523,7 @@ public class MapleClient {
|
|||||||
ResultSet rs = null;
|
ResultSet rs = null;
|
||||||
try {
|
try {
|
||||||
con = DatabaseConnection.getConnection();
|
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);
|
ps.setString(1, login);
|
||||||
rs = ps.executeQuery();
|
rs = ps.executeQuery();
|
||||||
if (rs.next()) {
|
if (rs.next()) {
|
||||||
|
|||||||
Reference in New Issue
Block a user