code: func (nk *nick) addChannel(ch *channel, cp *ChanPrivs) {
  	if _, ok := nk.chans[ch]; !ok {
  		nk.chans[ch] = cp
  		nk.lookup[ch.name] = ch
  	} else {
  		logging.Warn("Nick.addChannel(): %s already on %s.", nk.nick, ch.name)
  	}
  }
docs: // Associates a Channel with a Nick.