- Create a view of users, add VBO to it, and select all actions matching for users.
- List users. Choose some troll on your site and hit "Ban IP address..."
- At minimum, the code should clarify what it does.
- Attached patch implements that in the most trivial way.