diff options
author | David Athay <ko2fan@gmail.com> | 2009-01-15 11:13:33 +0000 |
---|---|---|
committer | Ira Rice <irarice@gmail.com> | 2009-01-20 11:04:46 -0700 |
commit | 1cd00ac68dca25c942c8db0cbaa8110d4a6a2f7a (patch) | |
tree | c65a0497c24b2de0d8e9b184bff86deefce826cc /src | |
parent | de068425200d5254181c6806ebeb4a72d68895ec (diff) | |
download | mana-1cd00ac68dca25c942c8db0cbaa8110d4a6a2f7a.tar.gz mana-1cd00ac68dca25c942c8db0cbaa8110d4a6a2f7a.tar.bz2 mana-1cd00ac68dca25c942c8db0cbaa8110d4a6a2f7a.tar.xz mana-1cd00ac68dca25c942c8db0cbaa8110d4a6a2f7a.zip |
Fix bug with item links.
Diffstat (limited to 'src')
-rw-r--r-- | src/gui/chat.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/chat.cpp b/src/gui/chat.cpp index 84666df4..b4b533db 100644 --- a/src/gui/chat.cpp +++ b/src/gui/chat.cpp @@ -358,7 +358,7 @@ void ChatWindow::chatSend(const std::string &nick, 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) |