summaryrefslogtreecommitdiff
path: root/src/net
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-01-29 21:46:57 +0300
committerAndrei Karas <akaras@inbox.ru>2012-01-29 21:51:03 +0300
commitdccd82a3a841e741c59a6db423e9ec1fc471baad (patch)
treeb7d0a662fdecdf4e7327d416119a3cd5fbaa38c0 /src/net
parent9ae83b4bb267c032f9499e80bc6b3bcd9fb37e71 (diff)
downloadmanaplus-dccd82a3a841e741c59a6db423e9ec1fc471baad.tar.gz
manaplus-dccd82a3a841e741c59a6db423e9ec1fc471baad.tar.bz2
manaplus-dccd82a3a841e741c59a6db423e9ec1fc471baad.tar.xz
manaplus-dccd82a3a841e741c59a6db423e9ec1fc471baad.zip
Fix client detection in online list.
And online list typo.
Diffstat (limited to 'src/net')
-rw-r--r--src/net/tmwa/playerhandler.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/net/tmwa/playerhandler.cpp b/src/net/tmwa/playerhandler.cpp
index 621a747b0..8747cf9c4 100644
--- a/src/net/tmwa/playerhandler.cpp
+++ b/src/net/tmwa/playerhandler.cpp
@@ -237,7 +237,7 @@ void PlayerHandler::processOnlineList(Net::MessageIn &msg)
while (buf - start + 1 < size && *(buf + addVal))
{
- unsigned char status = 0;
+ unsigned char status = 255;
unsigned char ver = 0;
unsigned char level = 0;
if (serverVersion >= 4)