summaryrefslogtreecommitdiff
path: root/src/net/gameserver/gameserver.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/net/gameserver/gameserver.cpp')
-rw-r--r--src/net/gameserver/gameserver.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/net/gameserver/gameserver.cpp b/src/net/gameserver/gameserver.cpp
index 8f8ad8ac..e451d473 100644
--- a/src/net/gameserver/gameserver.cpp
+++ b/src/net/gameserver/gameserver.cpp
@@ -45,7 +45,7 @@ void Net::GameServer::logout(bool reconnectAccount)
{
MessageOut msg(PGMSG_DISCONNECT);
- msg.writeByte((unsigned char) reconnectAccount);
+ msg.writeInt8((unsigned char) reconnectAccount);
Net::GameServer::connection->send(msg);
}