diff --git a/lib/PBot/Core/IRC.pm b/lib/PBot/Core/IRC.pm index b9de2cc7..13be0fe6 100644 --- a/lib/PBot/Core/IRC.pm +++ b/lib/PBot/Core/IRC.pm @@ -264,7 +264,9 @@ sub timeout { sub get_tags { my ($self, $tags) = @_; - $self->{_pbot}->{logger}->log("Message tags: [$tags]\n"); + if ($self->{_pbot}->{registry}->get_value('irc', 'debug_tags')) { + $self->{_pbot}->{logger}->log("Message tags: [$tags]\n"); + } my @list = split ';', $tags; my %hash; diff --git a/lib/PBot/VERSION.pm b/lib/PBot/VERSION.pm index 678e26b6..d60b7222 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 => 4606, - BUILD_DATE => "2023-01-27", + BUILD_REVISION => 4608, + BUILD_DATE => "2023-01-28", }; sub initialize {}