diff --git a/modules/quotes/commands.js b/modules/quotes/commands.js index 01a29d9..2d7dc6c 100644 --- a/modules/quotes/commands.js +++ b/modules/quotes/commands.js @@ -263,7 +263,7 @@ var commands = function(dbot) { event.reply(dbot.t('search_results', { 'category': haystack, 'needle': needle, - 'quote': matches[_.random(0, _.size(matches) -1)].quote, + 'quote': matches[_.random(0, _.size(matches) -1)], 'matches': matches.length })); }