On Tue, Dec 19, 2006 at 03:40:19PM -0600, [EMAIL PROTECTED] wrote:
> Problem solved. I was not acquiring the PerMsgStatus object correctly
> from the options passed to "check_start".
> I misled myself with the ReplaceTags plugin using the variable "$pms" and I 
> thought that was the PerMsgStatus object. But in that code, 
> $pms->{permsgstatus} is it. 

FWIW, if you look at the check code, the check_start call is:

  $self->{main}->call_plugins ("check_start", { permsgstatus => $self });

So what you could do in the plugin is:

  my ($self, $params) = @_;
  my $pms = $params->{'permsgstatus'};

:)

-- 
Randomly Selected Tagline:
"Getting a penguin to pee on demand is _messy_. We're talking yellow
 spots on the walls, on the ceiling, yea verily even behind the fridge."
                   - Linus Torvalds

Attachment: pgpQFov5GrwBY.pgp
Description: PGP signature

Reply via email to