mirror of
https://github.com/pragma-/pbot.git
synced 2025-02-02 15:34:05 +01:00
Fix piping code-factoids
This commit is contained in:
parent
f3a036bc81
commit
e0e8434b85
@ -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');
|
return undef if not length $stuff->{keyword} or $stuff->{interpret_depth} > $self->{pbot}->{registry}->get_value('interpreter', 'max_recursion');
|
||||||
|
|
||||||
$stuff->{from} = lc $stuff->{from};
|
$stuff->{from} = lc $stuff->{from};
|
||||||
$self->{special} = "";
|
|
||||||
|
|
||||||
# search for factoid against global channel and current channel (from unless ref_from is defined)
|
# search for factoid against global channel and current channel (from unless ref_from is defined)
|
||||||
my $original_keyword = $stuff->{keyword};
|
my $original_keyword = $stuff->{keyword};
|
||||||
|
@ -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");
|
$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')) {
|
if ($self->{pbot}->{registry}->get_value('general', 'debugcontext')) {
|
||||||
use Data::Dumper;
|
use Data::Dumper;
|
||||||
$Data::Dumper::Sortkeys = 1;
|
$Data::Dumper::Sortkeys = 1;
|
||||||
|
Loading…
Reference in New Issue
Block a user