plugins/ban_manager: some cleanup, improve ban command