Skip to content

Commit

Permalink
add ellipsis in disallowed link replacements
Browse files Browse the repository at this point in the history
  • Loading branch information
axieum committed May 10, 2024
1 parent 0b41457 commit 4c65492
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -187,6 +187,6 @@ public void onTellRawCommandMessage(Text message, ServerCommandSource source)
*/
private static String replaceLinks(String text, ChatConfig.ChatEntrySchema entry)
{
return entry.discord.allowLinks ? text : URL_PATTERN.matcher(text).replaceAll(" ");
return entry.discord.allowLinks ? text : URL_PATTERN.matcher(text).replaceAll(" ");
}
}

0 comments on commit 4c65492

Please sign in to comment.