code: func (nk *nick) parseModes(modes string) {
  	var modeop bool // true => add mode, false => remove mode
  	for i := 0; i < len(modes); i++ {
  		switch m := modes[i]; m {
  		case '+':
  			modeop = true
  		case '-':
  			modeop = false
  		case 'B':
  			nk.modes.Bot = modeop
  		case 'i':
  			nk.modes.Invisible = modeop
  		case 'o':
  			nk.modes.Oper = modeop
  		case 'w':
  			nk.modes.WallOps = modeop
  		case 'x':
  			nk.modes.HiddenHost = modeop
  		case 'z':
  			nk.modes.SSL = modeop
  		default:
  			logging.Info("Nick.ParseModes(): unknown mode char %c", m)
  		}
  	}
  }
docs: // Parse mode strings for a Nick.