forked from GitHub/dbot
fix error on ~rmlast when category doesn't exist
This commit is contained in:
parent
4a8e5d0cc0
commit
25b6099fbd
@ -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'));
|
||||
|
Loading…
Reference in New Issue
Block a user