Skip to content

Commit

Permalink
use new plugin_name function when the plugins log()
Browse files Browse the repository at this point in the history
git-svn-id: https://svn.perl.org/qpsmtpd/branches/v010@49 958fd67b-6ff1-0310-b445-bb7760255be9
  • Loading branch information
abh committed Sep 8, 2002
1 parent 4ee8b16 commit 931c3db
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/Qpsmtpd/Plugin.pm
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,8 @@ sub qp {
}

sub log {
shift->qp->log(@_);
my $self = shift;
$self->qp->log(shift, $self->plugin_name . " plugin: " . shift, @_);
}

sub transaction {
Expand Down

0 comments on commit 931c3db

Please sign in to comment.