From 63bbcb094153b8941e722f4043cb43a511b1e09f Mon Sep 17 00:00:00 2001 From: Pragmatic Software Date: Sat, 12 Aug 2017 23:42:56 -0700 Subject: [PATCH] Handle command queue results --- PBot/Interpreter.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PBot/Interpreter.pm b/PBot/Interpreter.pm index 32301350..94ee7200 100644 --- a/PBot/Interpreter.pm +++ b/PBot/Interpreter.pm @@ -458,7 +458,7 @@ sub process_command_queue { for (my $i = 0; $i < @{$self->{command_queue}->{$channel}}; $i++) { my $command = $self->{command_queue}->{$channel}->[$i]; if (gettimeofday >= $command->{when}) { - $self->interpret($channel, $command->{nick}, $command->{user}, $command->{host}, 0, $command->{command}); + $self->handle_result($channel, $command->{nick}, $command->{user}, $command->{host}, $command->{command}, $command->{command}, $self->interpret($channel, $command->{nick}, $command->{user}, $command->{host}, 0, $command->{command}), 0, 0); splice @{$self->{command_queue}->{$channel}}, $i--, 1; } }