Rough idle when warm

My friend's 92 Camaro has a problem with rough idle only when warm. His mechanic disconnected the wire going to the charcoal canister and
now it runs OK. Any idea what the CORRECT FIX is, rather then disconnecting that wire?
Add pictures here
<% if( /^image/.test(type) ){ %>
<% } %>
Add image file
Upload is a website by car enthusiasts for car enthusiasts. It is not affiliated with any of the car or spare part manufacturers or car dealers discussed here. All logos and trade names are the property of their respective owners.