http://issues.apache.org/SpamAssassin/show_bug.cgi?id=5243
[EMAIL PROTECTED] changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution| |FIXED
------- Additional Comments From [EMAIL PROTECTED] 2006-12-15 08:17 -------
Michael: it looks like that can be done without adding a new API as follows.
instead of:
$self->{main}->call_plugins ("check_main", { permsgstatus => $self }, required
=> 1); [or whatever]
use:
if (!$self->{main}->have_plugin("check_main")) {
die "no implementation found for 'check_main'!";
}
$self->{main}->call_plugins ("check_main", { permsgstatus => $self });
have_plugin() already exists. I think I prefer the latter anyway, since it
allows the caller to decide what action to take if 'check_main' is unimplemented
by any plugin.
given that, I'll mark this as FIXED; reopen if you'd prefer to see a new API
instead.
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.