From 7517540cc51e173d782d1b8c32f9446cf93f79de Mon Sep 17 00:00:00 2001 From: reality Date: Mon, 12 Aug 2013 23:18:40 +0000 Subject: [PATCH] derp --- modules/command/command.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/modules/command/command.js b/modules/command/command.js index 073017c..d77c339 100644 --- a/modules/command/command.js +++ b/modules/command/command.js @@ -12,6 +12,9 @@ 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, 'spelling')) { var commands = _.keys(dbot.commands)