devilcoredev/TrinityCore — comment on commit 1fb98b962f8909f048a7c8dd12fc5d6e899fbbaa
File: src/server/game/Entities/Creature/Creature.cpp line 1655
By kandera:

i said you didnt need this check. all this is doing is duplicating the effect you are doing in the unit->isimmunetospell