Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Don't punish users when no profanity gets detected
The automatic profanity detection in ModBot contained a bug, which resulted in a false-positive profanity detection for every text in that language, if the detected language didn't have any profanity terms configured. This commit fixes that, by returning when no profanity terms for the detected language are configured.
- Loading branch information