aboutsummaryrefslogtreecommitdiff
path: root/src/chat.cpp
diff options
context:
space:
mode:
authorpecksin <78765996+pecksin@users.noreply.github.com>2022-09-10 06:21:15 -0400
committerGitHub <noreply@github.com>2022-09-10 12:21:15 +0200
commitadb03ccc6dfefd4af2bc0c4607a67c574e2e6164 (patch)
treecd801db919bb6fc29221d791634ec9540afdee27 /src/chat.cpp
parent2133fc84c4e604e9365e99ac8dd597c8fb499b92 (diff)
downloadminetest-adb03ccc6dfefd4af2bc0c4607a67c574e2e6164.tar.xz
Chat weblink: remove comma as delimiter (#12730)
Diffstat (limited to 'src/chat.cpp')
-rw-r--r--src/chat.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/chat.cpp b/src/chat.cpp
index 92df038e8..9483fb96e 100644
--- a/src/chat.cpp
+++ b/src/chat.cpp
@@ -364,7 +364,7 @@ u32 ChatBuffer::formatChatLine(const ChatLine& line, u32 cols,
// Chars to mark end of weblink
// TODO? replace this with a safer (slower) regex whitelist?
- static const std::wstring delim_chars = L"\'\";,";
+ static const std::wstring delim_chars = L"\'\";";
wchar_t tempchar = linestring[in_pos+frag_length];
while (frag_length < remaining_in_input &&
!iswspace(tempchar) &&