3
0
mirror of https://github.com/reality/dbot.git synced 2024-11-24 04:49:25 +01:00

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'));