mirror of
https://github.com/pragma-/pbot.git
synced 2025-01-23 10:34:52 +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');
|
||||
|
||||
$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};
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user