diff --git a/lib/PBot/Plugin/UrlTitles.pm b/lib/PBot/Plugin/UrlTitles.pm index 7bc30afe..20671ff1 100644 --- a/lib/PBot/Plugin/UrlTitles.pm +++ b/lib/PBot/Plugin/UrlTitles.pm @@ -202,7 +202,7 @@ sub get_title($self, $context) { my $distance = distance(lc $file, lc $title); my $length = (length $file > length $title) ? length $file : length $title; - # disregard title if 75%+ similiar to file + # disregard title if 75%+ similar to file if ($distance / $length < 0.75) { $self->{pbot}->{logger}->log("URL ($url) is 75% similar to title ($title), disregarding\n"); return 0; @@ -210,7 +210,7 @@ sub get_title($self, $context) { # disregard ignored titles if ($self->is_ignored_title($title)) { - $self->{pbot}->{logger}->log("Disregarding ignored title\n"); + $self->{pbot}->{logger}->log("Disregarding ignored title ($title)\n"); return 0; } diff --git a/lib/PBot/VERSION.pm b/lib/PBot/VERSION.pm index ca4b1ba9..90a6834b 100644 --- a/lib/PBot/VERSION.pm +++ b/lib/PBot/VERSION.pm @@ -25,7 +25,7 @@ use PBot::Imports; # These are set by the /misc/update_version script use constant { BUILD_NAME => "PBot", - BUILD_REVISION => 4679, + BUILD_REVISION => 4680, BUILD_DATE => "2023-06-13", };