Further SetConfig optimization

Just removing the need for two different if() checks for true/false.
Parses 3rd argument into a boolean, and runs checks based off of that.