Skip to Content.
Sympa Menu

devel - minor bug in moderation

Subject: Developers of Sympa

List archive

Chronological Thread  
  • From: Olivier LACROIX <address@concealed>
  • To: address@concealed
  • Subject: minor bug in moderation
  • Date: Thu, 07 Dec 2000 11:09:36 +0100


Hi.

In sympa 3.0b4, there is a minor bug in the moderation. When a message is
sent
to a modarated list, the sender receives a message which notifies that the
message was sent to the editors.

Because of a little mistake, the subject of this message is always in english
and the body is :

Your message for list %s has been forwarded to editor(s)

(%s is not replaced by the name of the list)

Below the patch for List.pm


*** List.pm.orig	Thu Nov 30 15:15:49 2000
--- List.pm	Thu Dec  7 10:52:27 2000
***************
*** 1068,1075 ****
     my $name = $self->{'name'};
     return unless ($name && $admin && $sender);
  
!    my $subject = sprintf Msg(40, 4, 'Moderating your message');
!    my $body = Msg(4, 38, "Your message for list %s has been forwarded to editor(s)\n"), $name;
     &mail::mailback (\$body, $subject, $sender, $sender);
  }
  
--- 1068,1075 ----
     my $name = $self->{'name'};
     return unless ($name && $admin && $sender);
  
!    my $subject = sprintf Msg(4, 40, 'Moderating your message');
!    my $body = sprintf Msg(4, 38, "Your message for list %s has been forwarded to editor(s)\n"), $name;
     &mail::mailback (\$body, $subject, $sender, $sender);
  }
  

Olivier LACROIX

C.I.R.I.L.
Cellule RĂ©seau StanNet
Chateau du Montet | Tel : +33 3.83.44.74.29
Rue du Doyen Roubault | Fax : +33 3.83.44.02.62
F - 54500 VANDOEUVRE | email : address@concealed


  • minor bug in moderation, Olivier LACROIX, 12/07/2000

Archive powered by MHonArc 2.6.19+.

Top of Page