summaryrefslogtreecommitdiff
path: root/src/gui/widgets/tabs
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-08-27 16:57:34 +0300
committerAndrei Karas <akaras@inbox.ru>2014-08-27 16:57:34 +0300
commite70704f2b1609b49319e34f466afaf4454d92382 (patch)
tree8e6cccc2103fcb80e420c95a28801c6f7aff2435 /src/gui/widgets/tabs
parent8f173afdd496eda7fddd2b166e11626651600501 (diff)
downloadmanaplus-e70704f2b1609b49319e34f466afaf4454d92382.tar.gz
manaplus-e70704f2b1609b49319e34f466afaf4454d92382.tar.bz2
manaplus-e70704f2b1609b49319e34f466afaf4454d92382.tar.xz
manaplus-e70704f2b1609b49319e34f466afaf4454d92382.zip
Move method replaceVars into chatutils.cpp.
Diffstat (limited to 'src/gui/widgets/tabs')
-rw-r--r--src/gui/widgets/tabs/chattab.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gui/widgets/tabs/chattab.cpp b/src/gui/widgets/tabs/chattab.cpp
index f9a6e960f..44ab6d89c 100644
--- a/src/gui/widgets/tabs/chattab.cpp
+++ b/src/gui/widgets/tabs/chattab.cpp
@@ -51,6 +51,7 @@
#include "resources/db/itemdb.h"
+#include "utils/chatutils.h"
#include "utils/delete2.h"
#include "utils/gettext.h"
@@ -398,7 +399,7 @@ void ChatTab::chatInput(const std::string &message)
start = msg.find('[', start + 1);
}
- Commands::replaceVars(msg);
+ replaceVars(msg);
switch (msg[0])
{