diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/net/eathena/chathandler.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/net/eathena/chathandler.cpp b/src/net/eathena/chathandler.cpp index b36bfa2e4..07ed7e390 100644 --- a/src/net/eathena/chathandler.cpp +++ b/src/net/eathena/chathandler.cpp @@ -730,7 +730,7 @@ void ChatHandler::processChatRoomLeave(Net::MessageIn &msg) UNIMPLIMENTEDPACKET; break; } - if (name == localPlayer->getName()) + if (localPlayer && name == localPlayer->getName()) { if (chatWindow) chatWindow->joinRoom(false); |