mirror of
https://github.com/jeremyd/ergo.git
synced 2026-06-11 23:33:31 -07:00
modes: Let users give other users privs in channels. Silly bug.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user