-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Michael Parker writes: > On Thu, Sep 16, 2004 at 09:35:34AM -0700, Justin Mason wrote: > > > > I'm pretty sure there's a bugzilla bug open about this... I can't find it > > though. Could you open a bug at http://bugzilla.spamassassin.org/ > > to request it? > > Turns out it's easy enough to do, but it might be cool to add a hook > that gets called in _get_tag and passes in the %tags hash so you can > stick things in there. Or something similar. if I recall correctly, someone was suggesting a method callback; in other words, the plugin would call a function something like register_tag_callback("TAGNAME", $self, \&my_method); and the tag-expansion code would then know to call $self->my_method(...) if that tag was encountered, to get its value ($self being the plugin obj in that case). this sounds perfect to me. - --j. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (GNU/Linux) Comment: Exmh CVS iD8DBQFBSc5BQTcbUG5Y7woRAvTXAJsFJMdrZGADrlwObevtxsh0YZdGywCePvlM iTsrziyyxsxxQ/PwJwKE+aI= =FFeQ -----END PGP SIGNATURE-----