From 53defaaeea41b8972b4910871785d4d070030991 Mon Sep 17 00:00:00 2001 From: reality Date: Thu, 4 Jul 2013 22:37:34 +0000 Subject: [PATCH] wtf --- modules/kick/commands.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/modules/kick/commands.js b/modules/kick/commands.js index 2855295..8df71cf 100644 --- a/modules/kick/commands.js +++ b/modules/kick/commands.js @@ -144,10 +144,10 @@ var commands = function(dbot) { } // Add qutoe category documenting ban - //if(this.config.document_bans && _.has(dbot.modules, 'quotes')) { - // dbot.api.quotes.addQuote('ban_' + banee.toLowerCase(), quoteString, function() {}); - // notifyString += ' ' + dbot.t('quote_recorded', { 'user': banee }); - // } + if(this.config.document_bans && _.has(dbot.modules, 'quotes')) { + dbot.api.quotes.addQuote('ban_' + banee.toLowerCase(), quoteString, function() {}); + notifyString += ' ' + dbot.t('quote_recorded', { 'user': banee }); + } // Notify moderators, banee if(!_.isUndefined(adminChannel)) {