From 7124798398b19d6ebfcf50c9100f3c348a3acadb Mon Sep 17 00:00:00 2001 From: Luke Slater Date: Fri, 15 Jun 2012 10:53:45 +0100 Subject: [PATCH] Make it show the new key for the previous change --- modules/quotes.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/quotes.js b/modules/quotes.js index 5bc9bf3..a85ebf0 100644 --- a/modules/quotes.js +++ b/modules/quotes.js @@ -49,7 +49,7 @@ var quotes = function(dbot) { if(quotes.hasOwnProperty(key)) { event.reply(key + ': ' + interpolatedQuote(key)); } else if(quotes.hasOwnProperty(altKey)) { - event.reply(key + ': ' + interpolatedQuote(altKey)); + event.reply(altKey + ': ' + interpolatedQuote(altKey)); } else { event.reply(dbot.t('category_not_found', {'category': key})); }