]> git.pld-linux.org Git - packages/cvsspam.git/blob - cvsspam-users-quote.patch
- --charset arg support (a patch of mine)
[packages/cvsspam.git] / cvsspam-users-quote.patch
1 --- ./cvsspam.rb        2004-12-10 01:51:21.000000000 +0200
2 +++ ./cvsspam.rb        2005-02-15 21:46:58.000000000 +0200
3 @@ -1568,9 +1568,9 @@
4    if File.exists?($users_file)
5      File.open($users_file) do |io|
6        io.each_line do |line|
7 -        if line =~ /^([^:]+)\s*:\s*([^\n\r]+)/
8 +        if line =~ /^([^:]+)\s*:\s*(['"]?)([^\n\r]+)(\2)/
9            if address == $1
10 -            return $2
11 +            return $3
12            end
13          end
14        end
This page took 0.084756 seconds and 3 git commands to generate.