mirror of
https://github.com/reality/dbot.git
synced 2024-11-30 16:09:27 +01:00
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
|
'category': key
|
||||||
}));
|
}));
|
||||||
} else {
|
} else {
|
||||||
event.reply(dbot.t('no_quotes', {'category': q[1]}));
|
event.reply(dbot.t('no_quotes', {'category': key}));
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
event.reply(dbot.t('rmlast_spam'));
|
event.reply(dbot.t('rmlast_spam'));
|
||||||
|
Loading…
Reference in New Issue
Block a user