Commit 476b47dd39e8aa4d67acb94176b875920b68de3b:
Unused, but the RE should match the one for .txt files
Branch: refs/heads/master
Author: Sebb <[email protected]>
Committer: Sebb <[email protected]>
Pusher: sebb <[email protected]>
------------------------------------------------------------
www/members/proxy.cgi | ++ --
------------------------------------------------------------
4 changes: 2 additions, 2 deletions.
------------------------------------------------------------
diff --git a/www/members/proxy.cgi b/www/members/proxy.cgi
index 29644d3..def0edf 100755
--- a/www/members/proxy.cgi
+++ b/www/members/proxy.cgi
@@ -154,10 +154,10 @@ _html do
" #{proxy.ljust(24)} #{name} (#{id})"
end
- # gather a list of all non-text proxies
+ # gather a list of all non-text proxies (TODO unused)
nontext = Dir['proxies-received/*'].
reject {|file| file.end_with? '.txt'}.
- map {|file| file[/([A-Za-z0-9]+)\.\w+$/, 1]}
+ map {|file| file[/([-A-Za-z0-9]+)\.\w+$/, 1]}
# update proxies file
proxies = IO.read('proxies')