3
0
mirror of https://github.com/pragma-/pbot.git synced 2024-12-25 20:22:37 +01:00

Enable aka_debug because AKA log entries are interesting

This commit is contained in:
Pragmatic Software 2023-02-02 09:13:36 -08:00
parent 7bbd5d8097
commit 9f314cd365
3 changed files with 4 additions and 4 deletions

2
data/registry vendored
View File

@ -334,7 +334,7 @@
"messagehistory" : {
"debug_aka" : {
"type" : "text",
"value" : "0"
"value" : "1"
},
"debug_link" : {
"type" : "text",

View File

@ -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);

View File

@ -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 {}