Yeah no shit you got banned, leaking someone's IP is a huge security risk that not only puts their privacy at risk, but also their personal safety and if you didn't know, you can find someone's ACTUAL ADDRESS from their IP address so if you publicly post someone's IP, that puts them at risk at having their actual address found, which in turn can potentially put them at risk of being SWATTED, or worse.