Pistol safety