summaryrefslogtreecommitdiff
path: root/src/gui/widgets
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/widgets')
-rw-r--r--src/gui/widgets/chattab.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gui/widgets/chattab.cpp b/src/gui/widgets/chattab.cpp
index 72af1b0b8..c2db20574 100644
--- a/src/gui/widgets/chattab.cpp
+++ b/src/gui/widgets/chattab.cpp
@@ -349,6 +349,9 @@ void ChatTab::chatInput(const std::string &message)
start = msg.find('[', start + 1);
}
+ if (commandHandler)
+ commandHandler->replaceVars(msg);
+
// Prepare ordinary message
if (msg[0] != '/')
handleInput(msg);