3
0
mirror of https://github.com/pragma-/pbot.git synced 2025-01-22 10:04:36 +01:00

Gate message-tags debug message with irc.debug_tags

This commit is contained in:
Pragmatic Software 2023-01-28 11:48:29 -08:00
parent 7888a18566
commit 02d690600b
2 changed files with 5 additions and 3 deletions

View File

@ -264,7 +264,9 @@ sub timeout {
sub get_tags { sub get_tags {
my ($self, $tags) = @_; my ($self, $tags) = @_;
if ($self->{_pbot}->{registry}->get_value('irc', 'debug_tags')) {
$self->{_pbot}->{logger}->log("Message tags: [$tags]\n"); $self->{_pbot}->{logger}->log("Message tags: [$tags]\n");
}
my @list = split ';', $tags; my @list = split ';', $tags;
my %hash; my %hash;

View File

@ -25,8 +25,8 @@ use PBot::Imports;
# These are set by the /misc/update_version script # These are set by the /misc/update_version script
use constant { use constant {
BUILD_NAME => "PBot", BUILD_NAME => "PBot",
BUILD_REVISION => 4606, BUILD_REVISION => 4608,
BUILD_DATE => "2023-01-27", BUILD_DATE => "2023-01-28",
}; };
sub initialize {} sub initialize {}