modes: Also allow Voice

This commit is contained in:
Daniel Oaks 2017-06-30 01:14:38 +10:00
parent a833399d35
commit b633db3c9d
1 changed files with 3 additions and 0 deletions

View File

@ -452,6 +452,9 @@ func ParseChannelModeChanges(params ...string) (ModeChanges, map[rune]bool) {
break
}
}
if mode == rune(Voice) {
isKnown = true
}
if !isKnown {
unknown[mode] = true
continue