diff options
author | Andrei Karas <akaras@inbox.ru> | 2016-01-17 19:40:32 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2016-01-17 19:40:32 +0300 |
commit | 0d8b32b8381f7fd03af151ae03fd30ea91c05667 (patch) | |
tree | 8063576e4d8290fc2ef00547c61f724afad576d5 /src/gui/windows/chatwindow.cpp | |
parent | ae651b87a1db4131733eaccc5736a287a06a0e6b (diff) | |
download | manaverse-0d8b32b8381f7fd03af151ae03fd30ea91c05667.tar.gz manaverse-0d8b32b8381f7fd03af151ae03fd30ea91c05667.tar.bz2 manaverse-0d8b32b8381f7fd03af151ae03fd30ea91c05667.tar.xz manaverse-0d8b32b8381f7fd03af151ae03fd30ea91c05667.zip |
Dont more chat messages with item links into trade tab.
Diffstat (limited to 'src/gui/windows/chatwindow.cpp')
-rw-r--r-- | src/gui/windows/chatwindow.cpp | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/src/gui/windows/chatwindow.cpp b/src/gui/windows/chatwindow.cpp index 1435a59e9..0934be0ff 100644 --- a/src/gui/windows/chatwindow.cpp +++ b/src/gui/windows/chatwindow.cpp @@ -1642,30 +1642,6 @@ bool ChatWindow::resortChatLog(std::string line, } } - if (tradeChatTab) - { - const size_t idx1 = line.find("@@"); - if (idx1 != std::string::npos) - { - idx2 = line.find("|", idx1); - if (idx2 != std::string::npos) - { - const size_t idx3 = line.find("@@", idx2); - if (idx3 != std::string::npos) - { - if (line.find("http", idx1) != idx1 + 2) - { - tradeChatTab->chatLog(prefix + line, - own, - ignoreRecord, - tryRemoveColors); - return false; - } - } - } - } - } - if (!channel.empty()) { if (langChatTab) |