summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-04-23 00:39:35 +0300
committerAndrei Karas <akaras@inbox.ru>2014-04-23 00:39:35 +0300
commit1c7d1e52decce816a0da17234386f77e7693f0b7 (patch)
treef3a8af05f44400a44e2030079be73057d421e85e
parent4aaa5d31733e5b970088cbf7453a6838f3d4b391 (diff)
downloadManaVerse-1c7d1e52decce816a0da17234386f77e7693f0b7.tar.gz
ManaVerse-1c7d1e52decce816a0da17234386f77e7693f0b7.tar.bz2
ManaVerse-1c7d1e52decce816a0da17234386f77e7693f0b7.tar.xz
ManaVerse-1c7d1e52decce816a0da17234386f77e7693f0b7.zip
Fix links removing from over head text.
-rw-r--r--src/being/being.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/being/being.cpp b/src/being/being.cpp
index 621b61d02..683bfb6f5 100644
--- a/src/being/being.cpp
+++ b/src/being/being.cpp
@@ -441,7 +441,7 @@ void Being::setSpeech(const std::string &text, const std::string &channel,
mSpeech.erase(e, 1);
mSpeech.erase(start, (position - start) + 1);
}
- position = mSpeech.find('@');
+ position = mSpeech.find("@@");
while (position != std::string::npos)
{