From 15c17744ba4aeaacdd9c53dfbfcf5568946dc14b Mon Sep 17 00:00:00 2001 From: Pragmatic Software Date: Mon, 10 Apr 2017 19:17:32 -0700 Subject: [PATCH] Comment out some verbose log messages --- PBot/MessageHistory_SQLite.pm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/PBot/MessageHistory_SQLite.pm b/PBot/MessageHistory_SQLite.pm index 56b7e14a..668d5731 100644 --- a/PBot/MessageHistory_SQLite.pm +++ b/PBot/MessageHistory_SQLite.pm @@ -482,7 +482,7 @@ sub get_message_account { my $distance = fastdistance($host, $thost); my $length = (length($host) > length($thost)) ? length $host : length $thost; - $self->{pbot}->{logger}->log("distance: " . ($distance / $length) . " -- $host vs $thost\n") if $length != 0; + #$self->{pbot}->{logger}->log("distance: " . ($distance / $length) . " -- $host vs $thost\n") if $length != 0; if ($length != 0 && $distance / $length < 0.50) { $match = 1; @@ -595,7 +595,7 @@ sub get_message_account { my $distance = fastdistance($host, $thost); my $length = (length($host) > length($thost)) ? length $host : length $thost; - $self->{pbot}->{logger}->log("distance: " . ($distance / $length) . " -- $host vs $thost\n") if $length != 0; + #$self->{pbot}->{logger}->log("distance: " . ($distance / $length) . " -- $host vs $thost\n") if $length != 0; my $match = 0; @@ -1329,7 +1329,7 @@ sub link_aliases { my $distance = fastdistance($host, $thost); my $length = (length($host) > length($thost)) ? length $host : length $thost; - $self->{pbot}->{logger}->log("distance: " . ($distance / $length) . " -- $host vs $thost\n") if $length != 0; + #$self->{pbot}->{logger}->log("distance: " . ($distance / $length) . " -- $host vs $thost\n") if $length != 0; if ($length != 0 && $distance / $length < 0.50) { $ids{$row->{id}} = { id => $row->{id}, type => $self->{alias_type}->{STRONG} }; # don't force linking