Double "(Moderated)"

Russ Allbery rra at stanford.edu
Wed Jan 17 20:04:39 UTC 2001


Bettina Fink <laura at hydrophil.de> writes:
> Russ Allbery <rra at stanford.edu> wrote:

>> I suspect this code:
>> 
>>      if ($ngdesc) {
>>        $ngdesc =~ s/\s+(moderated)$//i;
>>        $ngdesc .= " (Moderated)" if $modflag eq "moderated";  
>>      }
>> 
>> Bet the description had trailing whitespace.

> This is the passage from the newgroup message:

> For your newsgroups file:
> hamster.it.announce	Announces about Hamster. <hamster-it-announce at moderators.isc.org> (Moderated)

Hm.

Oh, wait.  I see the problem.  That should be \(moderated\).

I'll go fix it.

-- 
Russ Allbery (rra at stanford.edu)             <http://www.eyrie.org/~eagle/>



More information about the inn-workers mailing list