cvar check before replacing deny with replace (untested)
added support for 1.0 and 1.3 (untested)