summaryrefslogtreecommitdiff
path: root/src/gui/chatwindow.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-05-18 20:39:30 +0300
committerAndrei Karas <akaras@inbox.ru>2013-05-18 20:39:30 +0300
commit261edddd92ec02c1d278213e730aa30a1fea71d0 (patch)
tree7ab51a50a43735d476ac276a00a592799adff6b6 /src/gui/chatwindow.cpp
parent110815cb875c0ceb76c1c37263f4b5fe09a927b6 (diff)
downloadmanaverse-261edddd92ec02c1d278213e730aa30a1fea71d0.tar.gz
manaverse-261edddd92ec02c1d278213e730aa30a1fea71d0.tar.bz2
manaverse-261edddd92ec02c1d278213e730aa30a1fea71d0.tar.xz
manaverse-261edddd92ec02c1d278213e730aa30a1fea71d0.zip
Remove static list with chat commands for autocomplete.
Diffstat (limited to 'src/gui/chatwindow.cpp')
-rw-r--r--src/gui/chatwindow.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gui/chatwindow.cpp b/src/gui/chatwindow.cpp
index 0e043ea71..5d0c76b91 100644
--- a/src/gui/chatwindow.cpp
+++ b/src/gui/chatwindow.cpp
@@ -24,6 +24,7 @@
#include "actorspritemanager.h"
#include "client.h"
+#include "commandhandler.h"
#include "commands.h"
#include "configuration.h"
#include "game.h"
@@ -322,6 +323,7 @@ void ChatWindow::loadCommandsFile(const std::string &name)
void ChatWindow::fillCommands()
{
loadCommandsFile("chatcommands.txt");
+ CommandHandler::addChatCommands(mCommands);
}
void ChatWindow::loadGMCommands()