forked from MagicBane/Server
Handler added to create single account
This commit is contained in:
@@ -121,6 +121,14 @@ public class dbAccountHandler extends dbHandlerBase {
|
|||||||
executeUpdate();
|
executeUpdate();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public void CREATE_SINGLE(String accountName, String password) {
|
||||||
|
|
||||||
|
prepareCallable("CALL singleAccountCreate(`?`,`?");
|
||||||
|
setString(1, accountName);
|
||||||
|
setString(2, password);
|
||||||
|
executeUpdate();
|
||||||
|
}
|
||||||
|
|
||||||
public Account GET_ACCOUNT(String uname) {
|
public Account GET_ACCOUNT(String uname) {
|
||||||
|
|
||||||
if (Account.AccountsMap.get(uname) != null)
|
if (Account.AccountsMap.get(uname) != null)
|
||||||
|
|||||||
Reference in New Issue
Block a user