From a821547838c6eb4810070f6a92fb7b6baa06cc6c Mon Sep 17 00:00:00 2001 From: reality Date: Thu, 4 Jul 2013 22:32:56 +0000 Subject: [PATCH] fix addquote --- modules/kick/commands.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/kick/commands.js b/modules/kick/commands.js index fd02f16..8df71cf 100644 --- a/modules/kick/commands.js +++ b/modules/kick/commands.js @@ -145,7 +145,7 @@ var commands = function(dbot) { // Add qutoe category documenting ban if(this.config.document_bans && _.has(dbot.modules, 'quotes')) { - dbot.db.quoteArrs['ban_' + banee.toLowerCase()] = [ quoteString ]; + dbot.api.quotes.addQuote('ban_' + banee.toLowerCase(), quoteString, function() {}); notifyString += ' ' + dbot.t('quote_recorded', { 'user': banee }); }