mirror of
https://github.com/EQEmu/Server.git
synced 2026-06-15 00:28:21 +00:00
Implement remain functionality and cleaning up some code
This commit is contained in:
+1
-1
@@ -510,7 +510,7 @@ int main(int argc, char** argv) {
|
||||
eqsm.reset(new EQ::Net::EQStreamManager(opts));
|
||||
eqsf_open = true;
|
||||
|
||||
eqsm->OnNewConnection([&stream_identifier](std::shared_ptr<EQ::Net::EQStream> stream) {
|
||||
eqsm->OnNewConnection([&stream_identifier](std::shared_ptr<EQStreamInterface> stream) {
|
||||
stream_identifier.AddStream(stream);
|
||||
LogF(Logs::Detail, Logs::World_Server, "New connection from IP {0}:{1}", stream->GetRemoteIP(), ntohs(stream->GetRemotePort()));
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user