Skip to content

Commit 6c20d1e

Browse files
authored
Merge pull request #154 from destinygg/fix/phrases-case
DES-217: don't convert ban phrase to lc
2 parents 31880bd + 638733d commit 6c20d1e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/commands/implementations/banphrase.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ function banPhraseTwitch(defaultPunishmentDuration, punishmentType) {
5353
function banPhraseDGG() {
5454
return (input, services) => {
5555
const matched = /(\d+[HMDSWwhmds])?\s?(.*)/.exec(input);
56-
const bannedPhrase = _.get(matched, 2, '').toLowerCase();
56+
const bannedPhrase = _.get(matched, 2, '');
5757
services.bannedPhrases.addBannedPhrase(bannedPhrase);
5858
return new CommandOutput(null, 'Phrase banned!');
5959
};

0 commit comments

Comments
 (0)