fix channel ban/invite/exempt listing

This commit is contained in:
zefie
2025-06-14 13:04:27 -04:00
parent e461b81254
commit 0aa8dc5a20

View File

@@ -1324,9 +1324,13 @@ class WTVIRC {
'o': true, // op
'v': true // voice
};
for (let i = 0; i < modeFlags.length; 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 === '+') {
adding = true;
} else if (c === '-') {