3
0
mirror of https://github.com/reality/dbot.git synced 2024-12-28 05:32:50 +01:00

fix addquote

This commit is contained in:
reality 2013-07-04 22:32:56 +00:00
parent b6a56e23f6
commit a821547838

View File

@ -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 });
}