Fixed a misspelled method call

This commit is contained in:
Kayne Ruse
2014-11-26 10:28:57 +11:00
parent e5abd51f76
commit bac8bc2b41
+2 -2
View File
@@ -130,7 +130,7 @@ void ServerApplication::HandleLogoutRequest(ClientPacket* const argPacket) {
ClientData* clientData = clientMgr.Get(accountData->GetClientIndex());
if (!clientData) {
std::ostringstream msg;
msg << "No client found for an account: " << accountData->GetUserName();
msg << "No client found for an account: " << accountData->GetUsername();
throw(std::logic_error(msg.str()));
}
@@ -225,7 +225,7 @@ void ServerApplication::HandleShutdownRequest(ClientPacket* const argPacket) {
ClientData* clientData = clientMgr.Get(accountData->GetClientIndex());
if (!clientData) {
std::ostringstream msg;
msg << "No client found for an account: " << accountData->GetUserName();
msg << "No client found for an account: " << accountData->GetUsername();
throw(std::logic_error(msg.str()));
}