Update remote ip [skip ci]

This commit is contained in:
Akkadius 2019-07-09 02:41:09 -05:00
parent 0111e9a5d0
commit 54ea7d7c4b
2 changed files with 2 additions and 2 deletions

View File

@ -191,7 +191,7 @@ public:
);
void DoSuccessfulLogin(const std::string in_account_name, int db_account_id, const std::string &db_loginserver);
void CreateLocalAccount(const std::string &user, const std::string &pass);
void CreateLocalAccount(const std::string &username, const std::string &password);
void CreateEQEmuAccount(const std::string &in_account_name, const std::string &in_account_password, unsigned int loginserver_account_id);
private:

View File

@ -534,7 +534,7 @@ void WorldServer::Handle_NewLSInfo(ServerNewLSInfo_Struct *new_world_server_info
server.db->UpdateWorldRegistration(
GetServerId(),
GetServerLongName(),
GetConnection()->Handle()->RemoteIP()
GetRemoteIp()
);
}