Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Comment out debug print.

  • Loading branch information...
commit 02c666070be2fcabc495e528b0b7f6ab5fb8ec64 1 parent 7dfb2f9
@jamiemccarthy jamiemccarthy authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 themes/slashcode/htdocs/comments.pl
View
4 themes/slashcode/htdocs/comments.pl
@@ -867,9 +867,9 @@ sub validateComment {
if ($user->{is_anon} && $constants->{comments_portscan_anon_for_proxy}) {
my $is_trusted = $slashdb->checkIsTrusted($user->{ipid});
if ($is_trusted ne 'yes') {
-my $start_time = Time::HiRes::time;
+#my $start_time = Time::HiRes::time;
my $is_proxy = $slashdb->checkForOpenProxy($user->{hostip});
-my $elapsed = sprintf("%.3f", Time::HiRes::time - $start_time); print STDERR scalar(localtime) . " comments.pl cfop returned '$is_proxy' for '$user->{hostip}' in $elapsed secs\n";
+#my $elapsed = sprintf("%.3f", Time::HiRes::time - $start_time); print STDERR scalar(localtime) . " comments.pl cfop returned '$is_proxy' for '$user->{hostip}' in $elapsed secs\n";
if ($is_proxy) {
$$error_message = getError('open proxy', {
unencoded_ip => $ENV{REMOTE_ADDR},
Please sign in to comment.
Something went wrong with that request. Please try again.