diff --git a/src/app/channel/commandPreprocessor.js b/src/app/channel/commandPreprocessor.js index 40c1579..b46a38b 100644 --- a/src/app/channel/commandPreprocessor.js +++ b/src/app/channel/commandPreprocessor.js @@ -54,12 +54,7 @@ module.exports = class commandPreprocessor{ this.command = validator.trim(validator.escape(this.rawData.msg)); //nuke the message if its empty or huge - if(!validator.isLength(this.command, {min: 1, max: 255})){ - return false; - } - - //return true to tell preprocess to continue on - return true; + return (validator.isLength(this.command, {min: 1, max: 255})); } splitCommand(){