mirror of
https://github.com/burrow-dev/burrow-server.git
synced 2026-11-19 01:27:51 -05:00
feat: chat filters cover bios
The server refuses a bio that breaks its filter and hides one saved before. The client filter now runs on your own card too.
This commit is contained in:
1 parent
89fe4d2a28
commit
80383e8dec
7 files changed
+22
-9
No files matched your search
+2
-2
@@ -4,8 +4,8 @@ const fs = require("fs");
|
||||
const path = require("path");
|
||||
|
||||
// the server's own filter for what players write to each other: typed chat,
|
||||
// Jam-a-Gram messages and Jammer Wall posts. unlike the chat filter in the
|
||||
// client (the player's to set, or turn off), this one cannot be turned off,
|
||||
// Jam-a-Gram messages, Jammer Wall posts and bios. unlike the chat filter in
|
||||
// the client (the player's to set, or turn off), this one cannot be turned off,
|
||||
// and what it catches reaches nobody. it is meant to be narrow: slurs, and
|
||||
// sexual talk aimed at someone, never swearing as such ("fuck" is fine,
|
||||
// "i'll fuck you in the ass" is not). the rules are lib/chat-filter.txt,
|
||||
|
||||
Reference in new issue
Block a user