irc detect virus and avg clean virus

internet relay chat = irc can detect virus in your pc computer.
sometimes i connect to irc will tell detected virus trojan horse.
then i scan with avg antivirus and true have virus trojan horse.
after antivirus clean the virus from my laptop then connect irc.
for safety turn on internet security, antivirus, defender, firewall.
update download program security, antivirus, defender, firewall.