From 6b6907fe7b79348b77eddf0783c9e270a67ab31d Mon Sep 17 00:00:00 2001 From: Luke Slater Date: Thu, 24 Jan 2013 00:39:42 +0100 Subject: [PATCH] re-add ~quote syntax --- modules/command/command.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/modules/command/command.js b/modules/command/command.js index a142bba..0895a94 100644 --- a/modules/command/command.js +++ b/modules/command/command.js @@ -14,11 +14,11 @@ var command = function(dbot) { this.listener = function(event) { var commandName = event.params[0]; if(!_.has(dbot.commands, commandName)) { - /*if(_.has(dbot.modules, 'quotes')) { + if(_.has(dbot.modules, 'quotes')) { commandName = '~'; - } else {*/ + } else { return; - //} + } } if(this.api.isBanned(event.user, commandName)) {