3
0
mirror of https://github.com/pragma-/pbot.git synced 2025-01-23 02:24:25 +01:00

Fix piping code-factoids

This commit is contained in:
Pragmatic Software 2017-11-28 18:30:35 -08:00
parent f3a036bc81
commit e0e8434b85
2 changed files with 2 additions and 1 deletions

View File

@ -733,7 +733,6 @@ sub interpreter {
return undef if not length $stuff->{keyword} or $stuff->{interpret_depth} > $self->{pbot}->{registry}->get_value('interpreter', 'max_recursion');
$stuff->{from} = lc $stuff->{from};
$self->{special} = "";
# search for factoid against global channel and current channel (from unless ref_from is defined)
my $original_keyword = $stuff->{keyword};

View File

@ -209,6 +209,8 @@ sub interpret {
$pbot->{logger}->log("=== Enter interpret_command: [" . (defined $stuff->{from} ? $stuff->{from} : "(undef)") . "][$stuff->{nick}!$stuff->{user}\@$stuff->{host}][$stuff->{interpret_depth}][$stuff->{command}]\n");
$stuff->{special} = "";
if ($self->{pbot}->{registry}->get_value('general', 'debugcontext')) {
use Data::Dumper;
$Data::Dumper::Sortkeys = 1;