Skip to content

Commit

Permalink
dont use full words for usernames
Browse files Browse the repository at this point in the history
  • Loading branch information
barisusakli committed Jan 31, 2024
1 parent dd5383f commit 4c56d0c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ var Beep = {
}

Beep.illegal_words = Beep.toRegExp(hash.illegal, true);
Beep.illegal_usernames = Beep.toRegExp(hash['illegal-usernames'], true);
Beep.illegal_usernames = Beep.toRegExp(hash['illegal-usernames'], false);

if (hash.id && hash.id.length) {
var words = hash.id.split(',').filter(function (word) {
Expand Down

0 comments on commit 4c56d0c

Please sign in to comment.