q2a/question2answer — pull request #16 by pupi1985 (2014-01-07 01:04:47+00:00)
Title: Added firing an event on the points update for plugins to listen.

The event might not be as useful as it sounds as it can provide little information without querying the database. Actually, only this information can be quickly passed:
```
[userid] => 8
[updated_columns] => Array (
[0] => qvoteds
[1] => upvoteds
[2] => downvoteds
)
```
Additionally, the reception of the event doesn't necessarily mean a points change but rather only an update being fired. Having the points in the event would mean performing a database query which would reduce performance unnecessarily if there are no listeners of the event (probably there should be a way of registering modules to listen to particular events in the future in order to send the events only to the listeners and if there are any?).

Anyway, if needed, the modules can query the database for the points to check themselves.