Why are you checking the convar again here? You already remove the hook if it gets changed to 0 in line 69