From 71b9e482c17eab0a8229b531bac44af3b8b5ad2d Mon Sep 17 00:00:00 2001 From: reality Date: Sat, 1 Jun 2013 19:38:44 +0000 Subject: [PATCH] move rq to new interpolatedquotes api --- modules/quotes/commands.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/modules/quotes/commands.js b/modules/quotes/commands.js index 751a4e6..6b4e20a 100644 --- a/modules/quotes/commands.js +++ b/modules/quotes/commands.js @@ -198,7 +198,8 @@ var commands = function(dbot) { '~rq': function(event) { if(_.keys(quotes).length > 0) { var category = _.keys(quotes)[_.random(0, _.size(quotes) -1)]; - event.reply(category + ': ' + this.internalAPI.interpolatedQuote(event.server, event.channel.name, category)); + event.reply(category + ': ' + + this.internalAPI.interpolatedQuote(event.server, event.channel.name, event.user, category)); } else { event.reply(dbot.t('no_results')); }