aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/server/game/Server/WorldSocket.cpp6
-rw-r--r--src/server/game/Server/WorldSocket.h2
2 files changed, 4 insertions, 4 deletions
diff --git a/src/server/game/Server/WorldSocket.cpp b/src/server/game/Server/WorldSocket.cpp
index 29779fe154e..963d6a1b71e 100644
--- a/src/server/game/Server/WorldSocket.cpp
+++ b/src/server/game/Server/WorldSocket.cpp
@@ -240,7 +240,7 @@ bool WorldSocket::ReadDataHandler()
}
}
CloseSocket();
- return;
+ return false;
}
WorldPackets::Auth::AuthSession authSession(std::move(packet));
@@ -262,7 +262,7 @@ bool WorldSocket::ReadDataHandler()
}
}
CloseSocket();
- return;
+ return false;
}
WorldPackets::Auth::AuthContinuedSession authSession(std::move(packet));
@@ -353,7 +353,7 @@ bool WorldSocket::ReadDataHandler()
return true;
}
-void WorldSocket::LogOpcodeText(OpcodeServer opcode, std::unique_lock<std::mutex> const& guard) const
+void WorldSocket::LogOpcodeText(OpcodeClient opcode, std::unique_lock<std::mutex> const& guard) const
{
if (!guard)
{
diff --git a/src/server/game/Server/WorldSocket.h b/src/server/game/Server/WorldSocket.h
index f670e2bb9e5..45e19a93767 100644
--- a/src/server/game/Server/WorldSocket.h
+++ b/src/server/game/Server/WorldSocket.h
@@ -94,7 +94,7 @@ protected:
private:
/// writes network.opcode log
/// accessing WorldSession is not threadsafe, only do it when holding _worldSessionLock
- void LogOpcodeText(OpcodeServer opcode, std::unique_lock<std::mutex> const& guard) const;
+ void LogOpcodeText(OpcodeClient opcode, std::unique_lock<std::mutex> const& guard) const;
/// sends and logs network.opcode without accessing WorldSession
void SendPacketAndLogOpcode(WorldPacket const& packet);
void WritePacketToBuffer(WorldPacket const& packet, MessageBuffer& buffer);