Skip to content

Commit

Permalink
Replace corvax chat filter with upstream implement
Browse files Browse the repository at this point in the history
  • Loading branch information
Morb0 committed Oct 22, 2023
1 parent 429c0c2 commit b8088a6
Show file tree
Hide file tree
Showing 4 changed files with 377 additions and 155 deletions.
1 change: 0 additions & 1 deletion Content.Server/Chat/Systems/ChatSystem.cs
Original file line number Diff line number Diff line change
Expand Up @@ -703,7 +703,6 @@ private bool CanSendInGame(string message, IConsoleShell? shell = null, IPlayerS
private string SanitizeInGameICMessage(EntityUid source, string message, out string? emoteStr, bool capitalize = true, bool punctuate = false, bool capitalizeTheWordI = true)
{
var newMessage = message.Trim();
newMessage = ReplaceWords(newMessage); // Corvax-ChatSanitize
newMessage = SanitizeMessageReplaceWords(newMessage);

if (capitalize)
Expand Down
154 changes: 0 additions & 154 deletions Content.Server/Corvax/ChatFilter/ChatSystem.cs

This file was deleted.

Loading

0 comments on commit b8088a6

Please sign in to comment.