3
0
mirror of https://github.com/reality/dbot.git synced 2024-11-27 22:39:26 +01:00

Make it show the new key for the previous change

This commit is contained in:
Luke Slater 2012-06-15 10:53:45 +01:00
parent b9b5d9913d
commit 7124798398

View File

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