geändert: src/trigger/umode.js

This commit is contained in:
Flummi 2016-09-06 11:45:37 +00:00
parent b13782a3f5
commit eee8564c08

View File

@ -42,8 +42,7 @@ var processModes = modes => {
modes.split('').forEach(token => {
if(token === '-' || token === '+') {prefix = token; return;}
if(token === ' ') return;
if(delta) modeArr.push(prefix + token);
else modeArr.push(prefix + token);
modeArr.push(prefix + token);
});
return [...new Set(modeArr)];
};