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;