fix error on ~rmlast when category doesn't exist

This commit is contained in:
John Maguire 2013-03-21 03:41:53 -04:00
parent 4a8e5d0cc0
commit 25b6099fbd

View File

@ -110,7 +110,7 @@ var commands = function(dbot) {
'category': key
}));
} else {
event.reply(dbot.t('no_quotes', {'category': q[1]}));
event.reply(dbot.t('no_quotes', {'category': key}));
}
} else {
event.reply(dbot.t('rmlast_spam'));