parent
926c67a38b
commit
19e9c5cd73
4 changed files with 17 additions and 5 deletions
@ -0,0 +1,6 @@ |
|||||||
|
var fs = require('fs'); |
||||||
|
var blanklist = fs.readFileSync('blacklist').toString().split('\n'); |
||||||
|
|
||||||
|
module.exports = function (text) { |
||||||
|
return blanklist.indexOf(text.split(',')[0]) !== -1; |
||||||
|
} |
Loading…
Reference in new issue