summaryrefslogtreecommitdiff
path: root/src/utils/stringutils.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/utils/stringutils.cpp')
-rw-r--r--src/utils/stringutils.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/utils/stringutils.cpp b/src/utils/stringutils.cpp
index e065616fe..f8b1da46d 100644
--- a/src/utils/stringutils.cpp
+++ b/src/utils/stringutils.cpp
@@ -1204,6 +1204,9 @@ void replaceItemLinks(std::string &msg)
if (start2 + 1 != end &&
end != std::string::npos)
{
+ // excludes timestamps to get parsed
+ if (msg[start2 + 3] == ':')
+ return;
// Catch multiple embeds and ignore them
// so it doesn't crash the client.
while ((msg.find('[', start2 + 1) != std::string::npos) &&