diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-02-19 11:59:14 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-02-19 11:59:14 +0300 |
commit | b5c7e137032d78a70c737cb390c6d729f95c72a2 (patch) | |
tree | 2ce73a70f6f5a032f688728ed2b14af6164a096d /src/gui/widgets/tabs/chat/chattab.cpp | |
parent | 0c863b2e2cc7f5be6baa918c8fffb0ee44c02cc7 (diff) | |
download | manaplus-b5c7e137032d78a70c737cb390c6d729f95c72a2.tar.gz manaplus-b5c7e137032d78a70c737cb390c6d729f95c72a2.tar.bz2 manaplus-b5c7e137032d78a70c737cb390c6d729f95c72a2.tar.xz manaplus-b5c7e137032d78a70c737cb390c6d729f95c72a2.zip |
Fix virtual overload function handleCommand.
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); |