Fixed bug in blacklist check

This commit is contained in:
aewens 2018-07-17 11:13:40 -04:00
parent 501faaf4c5
commit d5f415cee2
1 changed files with 1 additions and 1 deletions

2
bot.js
View File

@ -214,7 +214,7 @@ const checkBlacklist = (client, from, to, message) => {
const blacklisters = Object.keys(client.blacklist);
if (contains(blacklisters, from)) {
const blacklistInfo = blacklisters[from];
const blacklistInfo = client.blacklist[from];
const reason = blacklistInfo.reason;
// Log the blacklisters for later scrutiny