summaryrefslogtreecommitdiff
path: root/src/client.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-08-14 12:32:04 +0300
committerAndrei Karas <akaras@inbox.ru>2014-08-14 12:32:04 +0300
commit33fa397fd5b560afde5a876a99acc2b2546d1d44 (patch)
treeb38470466dc9cc9f7da0b197346075b9062343c0 /src/client.cpp
parentbb631b982a2f9b35e8009c3e76c4445ea3fda460 (diff)
downloadmanaplus-33fa397fd5b560afde5a876a99acc2b2546d1d44.tar.gz
manaplus-33fa397fd5b560afde5a876a99acc2b2546d1d44.tar.bz2
manaplus-33fa397fd5b560afde5a876a99acc2b2546d1d44.tar.xz
manaplus-33fa397fd5b560afde5a876a99acc2b2546d1d44.zip
Allow use chat commands before connecting to server.
Diffstat (limited to 'src/client.cpp')
-rw-r--r--src/client.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/client.cpp b/src/client.cpp
index 0631b661c..75de57bbe 100644
--- a/src/client.cpp
+++ b/src/client.cpp
@@ -26,6 +26,7 @@
#include "auctionmanager.h"
#include "chatlogger.h"
+#include "commandhandler.h"
#include "configmanager.h"
#include "configuration.h"
#include "dirs.h"
@@ -600,6 +601,7 @@ void Client::gameClear()
delete2(setupWindow);
delete2(helpWindow);
delete2(didYouKnowWindow);
+ delete2(commandHandler);
stopTimers();