forked from External/ergo
properly persist channels
This commit is contained in:
parent
a30bb540e9
commit
b30e247e77
4 changed files with 33 additions and 20 deletions
|
|
@ -107,6 +107,9 @@ func (clients ClientNameMap) Remove(client *Client) error {
|
|||
type ChannelModeSet map[ChannelMode]bool
|
||||
|
||||
func (set ChannelModeSet) String() string {
|
||||
if len(set) == 0 {
|
||||
return ""
|
||||
}
|
||||
strs := make([]string, len(set))
|
||||
index := 0
|
||||
for mode := range set {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue