mirror of
https://github.com/ergochat/ergo.git
synced 2025-12-20 02:00:11 -08:00
modes: Let users give other users privs in channels. Silly bug.
This commit is contained in:
parent
279ac928ae
commit
6ffc96d495
1 changed files with 6 additions and 0 deletions
|
|
@ -446,6 +446,12 @@ func ParseChannelModeChanges(params ...string) (ModeChanges, map[rune]bool) {
|
||||||
break
|
break
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
for _, supportedMode := range ChannelPrivModes {
|
||||||
|
if rune(supportedMode) == mode {
|
||||||
|
isKnown = true
|
||||||
|
break
|
||||||
|
}
|
||||||
|
}
|
||||||
if !isKnown {
|
if !isKnown {
|
||||||
unknown[mode] = true
|
unknown[mode] = true
|
||||||
continue
|
continue
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue