This commit is contained in:
Flummi 2017-01-31 11:14:29 +01:00
parent d6a140f055
commit 500f24ac39

View File

@ -14,7 +14,7 @@ module.exports = (lib) => {
if(rows[0]) {
var filename = __dirname + "/../../" + rows[0].dest;
nudity.scanFile(filename, (err, result) => {
if(result)
if(!result)
e.reply(id + " is maybe SFW");
else
e.reply(id + " is NSFW");