PKX/TrinityCore — comment on commit 64e21f76bb2fd210783d4696e3d2414106f82503
File: src/server/scripts/Spells/spell_generic.cpp line 1402
By PKX:

It's the opposite: GetCaster() can be NULL, and GetTarget() can't. Tobmaps has pointed this out in the previous commit and I corrected it now.
This is the comment for GetTarget() in class AuraScript:

```
// returns currently processed target of an aura
// Return value does not need to be NULL-checked, the only situation this will (always)
// return NULL is when the call happens in an unsupported hook, in other cases, it is always valid
```