diff options
Diffstat (limited to 'src/gui/widgets/tabs/chat/chattab.cpp')
-rw-r--r-- | src/gui/widgets/tabs/chat/chattab.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/widgets/tabs/chat/chattab.cpp b/src/gui/widgets/tabs/chat/chattab.cpp index 35e9f5d7f..727d12de2 100644 --- a/src/gui/widgets/tabs/chat/chattab.cpp +++ b/src/gui/widgets/tabs/chat/chattab.cpp @@ -407,7 +407,7 @@ void ChatTab::chatInput(const std::string &message) switch (msg[0]) { case '/': - handleCommand(std::string(msg, 1)); + handleCommandStr(std::string(msg, 1)); break; case '?': if (msg.size() > 1) @@ -441,7 +441,7 @@ void ChatTab::handleInput(const std::string &msg) mChannelName); } -void ChatTab::handleCommand(const std::string &msg) +void ChatTab::handleCommandStr(const std::string &msg) { const size_t pos = msg.find(' '); const std::string type(msg, 0, pos); |