Plugin ClamAV: small function change