mirror of
https://github.com/burrow-dev/burrow-server.git
synced 2026-11-18 17:27:50 -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
@@ -155,8 +155,9 @@ package
|
||||
_loc4_ += 17;
|
||||
}
|
||||
}
|
||||
// A player's bio, the last field of what their card is told.
|
||||
else if(param1.obj[0] == "xbn" && param1.obj.length > 7 && String(param1.obj[2]).toLowerCase() != String(gMainFrame.server.userName).toLowerCase())
|
||||
// A player's bio, the last field of what their card is told:
|
||||
// their own too, so they see it as others do.
|
||||
else if(param1.obj[0] == "xbn" && param1.obj.length > 7)
|
||||
{
|
||||
param1.obj[7] = AJClient.filterOrNote(String(param1.obj[7]));
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user