]>
Commit | Line | Data |
---|---|---|
8953f46b ER |
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 |