You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The below function has a set of hard-coded banned words (slurs, sexual, reserved words, etc). These should be placed in either a database table or a config file for easier maintenance.
Not only do we need to make it configurable, but the name isn't clear on the functionality. I don't know why it returns true, or why it returns false. If nothing is detected or something is detected it returns false, but if an immortal or NPC said something the return is true. We can pull the list from SQL on startup and probably do a better transformer using tokenization for identification rather than the current design, which may improve detections.
The below function has a set of hard-coded banned words (slurs, sexual, reserved words, etc). These should be placed in either a database table or a config file for easier maintenance.
riftshadow/code/act_comm.c
Line 1614 in 64db552
The text was updated successfully, but these errors were encountered: