diff options
Diffstat (limited to 'src/client.cpp')
-rw-r--r-- | src/client.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/client.cpp b/src/client.cpp index 40466638c..8f0827d44 100644 --- a/src/client.cpp +++ b/src/client.cpp @@ -619,8 +619,8 @@ void Client::gameClear() if (Net::getLoginHandler()) Net::getLoginHandler()->clearWorlds(); - if (Net::getChatHandler()) - Net::getChatHandler()->clear(); + if (chatHandler) + chatHandler->clear(); delete2(ipc); |