Illinois lawmakers have sent Gov. Bruce Rauner legislation requiring him and his successors to use governor’s office funds to pay people who work for them.

The Senate voted 46-7 Thursday to eliminate what’s called “off-shoring” of salaries. For decades, governors of both parties have made their payrolls look leaner by paying some employees who work for them out of other agencies’ budgets.

The legislation was pushed by Comptroller Susana Mendoza.