diff --git a/lib/PBot/Plugin/UrlTitles.pm b/lib/PBot/Plugin/UrlTitles.pm index eab58849..56dbaf58 100644 --- a/lib/PBot/Plugin/UrlTitles.pm +++ b/lib/PBot/Plugin/UrlTitles.pm @@ -202,6 +202,7 @@ sub get_title { # send result back to parent $context->{result} = $title; + $context->{url} = $url; } sub title_pipe_reader { @@ -231,8 +232,9 @@ sub title_pipe_reader { # update history $data = { + url => $context->{url}, timestamp => time, - hostmask => $context->{hostmask}, + hostmask => $context->{hostmask}, }; $self->{history}->add($context->{from}, $title, $data, 0, 1); diff --git a/lib/PBot/VERSION.pm b/lib/PBot/VERSION.pm index 4b5e9447..9d05e5b0 100644 --- a/lib/PBot/VERSION.pm +++ b/lib/PBot/VERSION.pm @@ -25,8 +25,8 @@ use PBot::Imports; # These are set by the /misc/update_version script use constant { BUILD_NAME => "PBot", - BUILD_REVISION => 4511, - BUILD_DATE => "2022-03-09", + BUILD_REVISION => 4514, + BUILD_DATE => "2022-03-17", }; sub initialize {}