Modify ↓
Ticket #55 (closed idea: fixed)
Idée : rajouter des hooks
| Reported by: | thaeron | Owned by: | thaeron |
|---|---|---|---|
| Priority: | minor | Milestone: | Version 1.7 |
| Component: | kernel | Version: | |
| Keywords: | Cc: |
Description
L'idée serait d'ajouter des sortes d'handlers mais sur des choses internes du bot. Par exemple pouvoir mettre un callback quand le bot envoie un message (utile pour le module log) ou surveiller les MODE, KICK etc (pour un module de surveillance du bot).
Attachments
Change History
comment:3 Changed 3 years ago by thaeron
- Status changed from assigned to closed
- Resolution set to fixed
C'est terminé :
http://leo01.sagwin.org/projects/newsyndrome/changeset/194
Voir notamment : http://leo01.sagwin.org/projects/newsyndrome/browser/trunk/src/hooks.c?rev=194
Note: See
TracTickets for help on using
tickets.
![(please configure the [header_logo] section in trac.ini)](http://cryptofractalx.ath.cx/imgs/ns-logo-complet.png)
Début du code : http://leo01.sagwin.org/projects/newsyndrome/changeset/121