INN commit: trunk/backends (mod-active.in)
INN Commit
Russ_Allbery at isc.org
Tue Dec 2 17:18:23 UTC 2008
Date: Tuesday, December 2, 2008 @ 09:18:23
Author: iulius
Revision: 8203
Fix a bug in mod-active for aliased newsgroups. Only "=" was written
to the active file.
Thanks to D. Stussy for the patch.
Modified:
trunk/backends/mod-active.in
---------------+
mod-active.in | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
Modified: mod-active.in
===================================================================
--- mod-active.in 2008-12-01 18:41:46 UTC (rev 8202)
+++ mod-active.in 2008-12-02 17:18:23 UTC (rev 8203)
@@ -45,13 +45,13 @@
$eval .= " \$group = (split)[0];\n";
while (<>) {
- if (/^\s*\S*ctlinnd newgroup (\S+) (\S)/) {
+ if (/^\s*\S*ctlinnd newgroup (\S+) (\S+)/) {
$toadd{$1} = $2;
$changes++;
} elsif (/^\s*\S*ctlinnd rmgroup (\S+)/) {
$eval .= " next if \$group eq '$1';\n";
$changes++;
- } elsif (/^\s*\S*ctlinnd changegroup (\S+) (\S)/) {
+ } elsif (/^\s*\S*ctlinnd changegroup (\S+) (\S+)/) {
$eval .= " s/ \\S+\$/ $2/ if \$group eq '$1';\n";
$changes++;
}
More information about the inn-committers
mailing list