Minor tweaks, prepping for a merge

This commit is contained in:
Kayne Ruse
2014-05-06 19:18:53 +10:00
parent 0ff787abda
commit 4ebff4a25a
5 changed files with 7 additions and 7 deletions
+1 -4
View File
@@ -46,15 +46,12 @@ void ServerApplication::HandleJoinRequest(SerialPacket packet) {
ClientData newClient;
newClient.address = packet.meta.srcAddress;
//debug
//load the user account
int uid = LoadUserAccount(packet.clientInfo.username, ClientData::uidCounter);
if (uid < 0) {
std::cerr << "Error: Account already loaded: " << uid << std::endl;
return;
}
accountMap[uid].blackListed = true;
accountMap[uid].whiteListed = false;
SaveUserAccount(uid);
//TODO: move this into the character management code
//create the new character