3
0
mirror of https://github.com/pragma-/pbot.git synced 2024-11-25 13:29:29 +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" : { "messagehistory" : {
"debug_aka" : { "debug_aka" : {
"type" : "text", "type" : "text",
"value" : "0" "value" : "1"
}, },
"debug_link" : { "debug_link" : {
"type" : "text", "type" : "text",

View File

@ -1813,7 +1813,7 @@ sub get_also_known_as {
last_seen => $row->{last_seen}, 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); $nickserv_sth->execute($id);

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 => 4614, BUILD_REVISION => 4615,
BUILD_DATE => "2023-02-01", BUILD_DATE => "2023-02-02",
}; };
sub initialize {} sub initialize {}