Former Nickelodeon actor Danny Tamberelli -- who starred on "All That" with Amanda Bynes back in the day -- is coming to the troubled actress' defense ... telling TMZ, Lindsay Lohan has NO RIGHT to call the kettle black.
As we reported, Lindsay bashed Amanda on Twitter after Amanda's car was impounded on Sunday, writing, "Why did I get put in jail and a nickelodeon star has had NO punishment(s) so far?"
We reached out to Danny for his thoughts -- because he's the man -- and he responded, “Given her own history with the law, it’s absurd that [Lindsay] would be so quick to judge another young woman under this kind of public scrutiny.“
Danny says, "Nickelodeon was nothing short of amazing to work for and they had their watchful eye on us all. They took care of us and tried not to let us go down the wrong path."
Danny adds, he's "very sorry to hear about Amanda’s recent trouble with the law” and “hopes she can find the support she needs to work through any issues that may be going on."
FYI ... the 30-year-old former child actor -- also famous for his role as Pete on "Pete & Pete" -- has since given up on Hollywood (for now) and currently spends his time playing bass for his band Jounce.