mirror of
https://github.com/pragma-/pbot.git
synced 2025-02-17 05:50:56 +01:00
StdinReader: restore from
to pbot@stdin
This commit is contained in:
parent
1140d1fbb4
commit
19f0644966
@ -67,7 +67,7 @@ sub stdin_reader {
|
|||||||
my $botnick = $self->{pbot}->{registry}->get_value('irc', 'botnick');
|
my $botnick = $self->{pbot}->{registry}->get_value('irc', 'botnick');
|
||||||
|
|
||||||
# process input as a bot command
|
# process input as a bot command
|
||||||
return $self->{pbot}->{interpreter}->process_line($botnick, $botnick, "stdin", "pbot", $input, 1);
|
return $self->{pbot}->{interpreter}->process_line('stdin@pbot', $botnick, "stdin", "pbot", $input, 1);
|
||||||
}
|
}
|
||||||
|
|
||||||
1;
|
1;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user