diff --git a/irc/modes.go b/irc/modes.go index 340bfafe..d7063ab3 100644 --- a/irc/modes.go +++ b/irc/modes.go @@ -446,6 +446,12 @@ func ParseChannelModeChanges(params ...string) (ModeChanges, map[rune]bool) { break } } + for _, supportedMode := range ChannelPrivModes { + if rune(supportedMode) == mode { + isKnown = true + break + } + } if !isKnown { unknown[mode] = true continue