From 11dcaac44c3ad2222a6dd812b86b51fe227aa4f3 Mon Sep 17 00:00:00 2001 From: reality Date: Fri, 12 Apr 2013 17:59:51 +0000 Subject: [PATCH] last commit meant admin commands couldnt be run. will rethink later. --- modules/command/command.js | 3 --- 1 file changed, 3 deletions(-) diff --git a/modules/command/command.js b/modules/command/command.js index 5a7ccee..df14456 100644 --- a/modules/command/command.js +++ b/modules/command/command.js @@ -13,9 +13,6 @@ var command = function(dbot) { */ this.listener = function(event) { var commandName = event.params[0]; - if(commandName.charAt(0) != '~') { - return; - } if(!_.has(dbot.commands, commandName)) { if(_.has(dbot.modules, 'quotes')) { commandName = '~';