Double "(Moderated)"

Bettina Fink laura at
Wed Jan 17 19:52:53 UTC 2001

Russ Allbery <rra at> wrote:

>> I have several of those "doubles" in the newsgroups file, not only in
>> that hierarchy. The newgroup message(*) looks ok at first glance. The
>> particular machine is an INN 2.3.1 with controlchan, automatic group
>> creation via pgpverify checks. The above group was automatically created
>> some hours ago.
> 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:	Announces about Hamster. <hamster-it-announce at> (Moderated)

> The old shell script has a different problem; it always adds an extra
> (Moderated) when a group is converted from unmoderated to moderated.

Ah, ok, that explains why the old machine had no problem with the group description.


More information about the inn-workers mailing list