From 745a763b7ff2525bbb81db43251403761472935a Mon Sep 17 00:00:00 2001 From: reality Date: Mon, 12 Aug 2013 23:32:23 +0000 Subject: [PATCH] return after giving command suggestion --- modules/command/command.js | 1 + 1 file changed, 1 insertion(+) diff --git a/modules/command/command.js b/modules/command/command.js index d77c339..47f22fe 100644 --- a/modules/command/command.js +++ b/modules/command/command.js @@ -31,6 +31,7 @@ var command = function(dbot) { if(closestMatch < 3) { event.reply(commandName + ' not found. Did you mean ' + winner + '?'); + return; } else if(_.has(dbot.modules, 'quotes')) { commandName = '~'; } else {