diff options
Diffstat (limited to 'src/net/tmwa/playerhandler.cpp')
-rw-r--r-- | src/net/tmwa/playerhandler.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/net/tmwa/playerhandler.cpp b/src/net/tmwa/playerhandler.cpp index 8747cf9c4..16e833ec9 100644 --- a/src/net/tmwa/playerhandler.cpp +++ b/src/net/tmwa/playerhandler.cpp @@ -229,6 +229,9 @@ void PlayerHandler::processOnlineList(Net::MessageIn &msg) } char *start = (char*)msg.readBytes(size); + if (!start) + return; + char *buf = start; int addVal = 1; |