3
0
mirror of https://github.com/reality/dbot.git synced 2024-12-25 20:22:39 +01:00

return after giving command suggestion

This commit is contained in:
reality 2013-08-12 23:32:23 +00:00
parent 7517540cc5
commit 745a763b7f

View File

@ -31,6 +31,7 @@ var command = function(dbot) {
if(closestMatch < 3) { if(closestMatch < 3) {
event.reply(commandName + ' not found. Did you mean ' + winner + '?'); event.reply(commandName + ' not found. Did you mean ' + winner + '?');
return;
} else if(_.has(dbot.modules, 'quotes')) { } else if(_.has(dbot.modules, 'quotes')) {
commandName = '~'; commandName = '~';
} else { } else {