From f440e0d41cde05ede965cbf664bfcdbe6ed149f0 Mon Sep 17 00:00:00 2001 From: minima Date: Tue, 2 Oct 2001 10:49:45 +0000 Subject: [PATCH] slightly improve logging of badword messages --- perl/DXMsg.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/perl/DXMsg.pm b/perl/DXMsg.pm index fb9e962f..dc9aff91 100644 --- a/perl/DXMsg.pm +++ b/perl/DXMsg.pm @@ -305,8 +305,8 @@ sub process } push @words, BadWords::check($ref->{subject}); if (@words) { - dbg("message with badwords '@words' $ref->{from} -> $ref->{to} '$ref->{subject}' origin: $ref->{origin}") if isdbg('msg'); - Log('msg',"message with badwords '@words' $ref->{from} -> $ref->{to} origin: $ref->{origin}"); + dbg("message with badwords '@words' $ref->{from} -> $ref->{to} '$ref->{subject}' origin: $ref->{origin} via " . $self->call) if isdbg('msg'); + Log('msg',"message with badwords '@words' $ref->{from} -> $ref->{to} origin: $ref->{origin} via " . $self->call); Log('msg',"subject: $ref->{subject}"); for (@{$ref->{lines}}) { Log('msg', "line: $_"); -- 2.43.0