From 9f314cd3658a0dad06ced9032c491067ed446838 Mon Sep 17 00:00:00 2001 From: Pragmatic Software Date: Thu, 2 Feb 2023 09:13:36 -0800 Subject: [PATCH] Enable `aka_debug` because AKA log entries are interesting --- data/registry | 2 +- lib/PBot/Core/MessageHistory/Storage/SQLite.pm | 2 +- lib/PBot/VERSION.pm | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/data/registry b/data/registry index a1bda748..927e215d 100644 --- a/data/registry +++ b/data/registry @@ -334,7 +334,7 @@ "messagehistory" : { "debug_aka" : { "type" : "text", - "value" : "0" + "value" : "1" }, "debug_link" : { "type" : "text", diff --git a/lib/PBot/Core/MessageHistory/Storage/SQLite.pm b/lib/PBot/Core/MessageHistory/Storage/SQLite.pm index d9bb5dfd..25e018a7 100644 --- a/lib/PBot/Core/MessageHistory/Storage/SQLite.pm +++ b/lib/PBot/Core/MessageHistory/Storage/SQLite.pm @@ -1813,7 +1813,7 @@ sub get_also_known_as { last_seen => $row->{last_seen}, }; - $self->{pbot}->{logger}->log("[AKA] hostmask ($id) $row->{hostmask} -> $ids{$id}->{id} [type $ids{$id}->{type}]\n") if $debug; + $self->{pbot}->{logger}->log("[AKA] ($id) $row->{hostmask} -> $ids{$id}->{id} [".($ids{$id}->{type}==LINK_WEAK?"WEAK":"STRONG")."]\n") if $debug; } $nickserv_sth->execute($id); diff --git a/lib/PBot/VERSION.pm b/lib/PBot/VERSION.pm index 8bf732c6..72249e2c 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 => 4614, - BUILD_DATE => "2023-02-01", + BUILD_REVISION => 4615, + BUILD_DATE => "2023-02-02", }; sub initialize {}