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.cpp7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/gui/widgets/chattab.cpp b/src/gui/widgets/chattab.cpp
index 120d4e21..46116a37 100644
--- a/src/gui/widgets/chattab.cpp
+++ b/src/gui/widgets/chattab.cpp
@@ -290,7 +290,7 @@ void ChatTab::chatSend(std::string &msg)
}
else
{
- commandHandler->handleCommand(std::string(msg, 1));
+ handleCommand(std::string(msg, 1));
}
}
@@ -322,3 +322,8 @@ void ChatTab::sendChat(std::string &msg) {
return;
#endif
}
+
+void ChatTab::handleCommand(std::string msg)
+{
+ commandHandler->handleCommand(msg);
+}