Alternate fix for reset_modes().

Oops, sorry, too quick to pull the trigger on the original pull request. This fix has fewer lines of change. "chan" is only ever used as a placeholder for botconfig.CHANNEL in the reset() method anyways. I prefer smaller changes, but it's up to you. It's based on the original pull request so it won't merge automatically onto master now.