Some servers have an udated version of VAC i guess, and can detect hacks.
Some servers are dumb ass servers, and you can hack there all day long.
And if you were banned only from that server, then you should be fine.
If you see a red circle wit a line through it for all the secured servers, the you have been VAC banned, which sucks.