From 648537f4275457d5b1ca251967cd93cdc4897060 Mon Sep 17 00:00:00 2001 From: Pragmatic Software Date: Fri, 7 Jun 2019 13:57:05 -0700 Subject: [PATCH] Quotegrabs: use split_line instead of parse_arguments --- PBot/Plugins/Quotegrabs.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PBot/Plugins/Quotegrabs.pm b/PBot/Plugins/Quotegrabs.pm index 65845873..6c4640fe 100644 --- a/PBot/Plugins/Quotegrabs.pm +++ b/PBot/Plugins/Quotegrabs.pm @@ -169,7 +169,7 @@ sub grab_quotegrab { my ($grab_nick, $grab_history, $channel, $grab_nicks, $grab_text); foreach my $grab (@grabs) { - ($grab_nick, $grab_history, $channel) = $self->{pbot}->{commands}->parse_arguments($grab); + ($grab_nick, $grab_history, $channel) = $self->{pbot}->{interpreter}->split_line($grab, 1); $grab_history = $nick eq $grab_nick ? 2 : 1 if not defined $grab_history; # skip grab command if grabbing self without arguments $channel = $from if not defined $channel;