Root Brain Freeze

Okay, call me dumb.....I was messing around in the cyanogen mod settings (i think) and changed my end button function. I want it to make the thing go to sleep when pressed. Well, I was about half drunk when I was messing with it now I cant remember where that setting is. Anyone know? Thanks.