diff --git a/lib/Qpsmtpd/Plugin.pm b/lib/Qpsmtpd/Plugin.pm index f4788a0..b2ee1de 100644 --- a/lib/Qpsmtpd/Plugin.pm +++ b/lib/Qpsmtpd/Plugin.pm @@ -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 {