It is censorship. Banning any content of any form for any reason, including legality, is censorship.
What people don't want to admit to themselves is that censorship isn't always a bad thing. Realizing that requires a degree of nuance that the internet currently doesn't support.