code: func (ch *channel) Channel() *Channel {
  	c := &Channel{
  		Name:  ch.name,
  		Topic: ch.topic,
  		Modes: ch.modes.Copy(),
  		Nicks: make(map[string]*ChanPrivs),
  	}
  	for n, cp := range ch.nicks {
  		c.Nicks[n.nick] = cp.Copy()
  	}
  	return c
  }
docs: // Returns a copy of the internal tracker channel state at this time.
  // Relies on tracker-level locking for concurrent access.