You're registering onto an event, which fires for every frame, regardless of unit. In other words - you have to validate the unit that your event handler receives.
Also - editing posts means that people who use e-mail pings won't see them (such as myself).
|