summaryrefslogtreecommitdiff
path: root/src/gui/widgets/chattab.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/widgets/chattab.cpp')
-rw-r--r--src/gui/widgets/chattab.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/gui/widgets/chattab.cpp b/src/gui/widgets/chattab.cpp
index e35105692..4e6e7c522 100644
--- a/src/gui/widgets/chattab.cpp
+++ b/src/gui/widgets/chattab.cpp
@@ -375,8 +375,7 @@ void ChatTab::chatInput(const std::string &message)
start = msg.find('[', start + 1);
}
- if (commandHandler)
- commandHandler->replaceVars(msg);
+ Commands::replaceVars(msg);
switch (msg[0])
{