mirror of
https://github.com/EQEmu/Server.git
synced 2025-12-14 15:41:30 +00:00
Fix issue with clients logging in locally on the same subnet
This commit is contained in:
parent
20b6c2f556
commit
d8bbd85abb
@ -1281,6 +1281,10 @@ void Client::Clearance(int8 response)
|
||||
} else {
|
||||
zs_addr = zs->GetIP().c_str();
|
||||
|
||||
if (!zs_addr[0]) {
|
||||
zs_addr = WorldConfig::get()->LocalAddress.c_str();
|
||||
}
|
||||
|
||||
if(strcmp(zs_addr, "127.0.0.1") == 0)
|
||||
{
|
||||
Log(Logs::Detail, Logs::World_Server, "Local zone address was %s, setting local address to: %s", zs_addr, WorldConfig::get()->LocalAddress.c_str());
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user