Stop /modchat spam

As in being able to spam /modchat false for example without actually setting it to something else. Also removed an if block related to deprecated /modchat true that will never execute 
Already tested the changes