From 833b4ee6b06a0d23781153ad117d638fa9cc9ace Mon Sep 17 00:00:00 2001 From: David Athay Date: Thu, 15 Jan 2009 11:13:33 +0000 Subject: Fix bug with item links. --- src/gui/chat.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/gui/chat.cpp') diff --git a/src/gui/chat.cpp b/src/gui/chat.cpp index f391ccb9..1cf64c74 100644 --- a/src/gui/chat.cpp +++ b/src/gui/chat.cpp @@ -311,7 +311,7 @@ void ChatWindow::chatSend(std::string &msg) // check for item link std::string::size_type start = msg.find('['); - if (start != std::string::npos) + if (start != std::string::npos && msg[start+1] != '@') { std::string::size_type end = msg.find(']', start); if (end != std::string::npos) -- cgit v1.2.3-70-g09d2