code for the clan tag protection