mirror of
https://github.com/pragma-/pbot.git
synced 2024-12-24 11:42:35 +01:00
Remove left over debug messages
This commit is contained in:
parent
a723bc3f65
commit
03b2b8d7b9
@ -151,8 +151,6 @@ sub log_factoid {
|
|||||||
push @{$undos->{list}}, $self->{pbot}->{factoids}->{factoids}->hash->{$channel}->{$trigger};
|
push @{$undos->{list}}, $self->{pbot}->{factoids}->{factoids}->hash->{$channel}->{$trigger};
|
||||||
$undos->{idx}++;
|
$undos->{idx}++;
|
||||||
|
|
||||||
print "storing undo [$channel][$trigger]\n";
|
|
||||||
|
|
||||||
store $undos, "$path/$trigger.$channel_path.undo";
|
store $undos, "$path/$trigger.$channel_path.undo";
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -224,7 +222,6 @@ sub factundo {
|
|||||||
|
|
||||||
my $channel_path = $channel;
|
my $channel_path = $channel;
|
||||||
$channel_path = 'global' if $channel_path eq '.*';
|
$channel_path = 'global' if $channel_path eq '.*';
|
||||||
print "channel: [$channel][$channel_path]\n";
|
|
||||||
|
|
||||||
my $path = $self->{pbot}->{registry}->get_value('general', 'data_dir') . '/factlog';
|
my $path = $self->{pbot}->{registry}->get_value('general', 'data_dir') . '/factlog';
|
||||||
my $undos = eval { retrieve("$path/$trigger.$channel_path.undo"); };
|
my $undos = eval { retrieve("$path/$trigger.$channel_path.undo"); };
|
||||||
|
Loading…
Reference in New Issue
Block a user