as it's not possible that modes contains a whitespace
This commit is contained in:
parent
4327fd983b
commit
f83fb0b89c
|
@ -51,7 +51,6 @@ var processModes = modes => {
|
|||
var prefix = '+', modeArr = [];
|
||||
modes.split('').forEach(token => {
|
||||
if(token === '-' || token === '+') {prefix = token; return;}
|
||||
if(token === ' ') return;
|
||||
modeArr.push(prefix + token);
|
||||
});
|
||||
return modeArr;
|
||||
|
|
Loading…
Reference in New Issue
Block a user