fix channel ban/invite/exempt listing
This commit is contained in:
@@ -1324,9 +1324,13 @@ class WTVIRC {
|
|||||||
'o': true, // op
|
'o': true, // op
|
||||||
'v': true // voice
|
'v': true // voice
|
||||||
};
|
};
|
||||||
|
|
||||||
for (let i = 0; i < modeFlags.length; i++) {
|
for (let i = 0; i < modeFlags.length; i++) {
|
||||||
let c = modeFlags[i];
|
let c = modeFlags[i];
|
||||||
|
// If the mode is 'b', 'e', or 'I', allow it with or without a param
|
||||||
|
if ((c === 'b' || c === 'e' || c === 'I') && paramIndex >= params.length) {
|
||||||
|
this.processChannelModeCommand(nickname, channel, c, null);
|
||||||
|
continue;
|
||||||
|
}
|
||||||
if (c === '+') {
|
if (c === '+') {
|
||||||
adding = true;
|
adding = true;
|
||||||
} else if (c === '-') {
|
} else if (c === '-') {
|
||||||
|
|||||||
Reference in New Issue
Block a user