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