mirror of
https://github.com/ergochat/ergo.git
synced 2024-11-10 22:19:31 +01:00
modes: Also allow Voice
This commit is contained in:
parent
a833399d35
commit
b633db3c9d
@ -452,6 +452,9 @@ func ParseChannelModeChanges(params ...string) (ModeChanges, map[rune]bool) {
|
|||||||
break
|
break
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
if mode == rune(Voice) {
|
||||||
|
isKnown = true
|
||||||
|
}
|
||||||
if !isKnown {
|
if !isKnown {
|
||||||
unknown[mode] = true
|
unknown[mode] = true
|
||||||
continue
|
continue
|
||||||
|
Loading…
Reference in New Issue
Block a user