diff --git a/PlayBot/commands/get.pm b/PlayBot/commands/get.pm index 568610b0af6338f0f727bfa6a57fa394770d4d94..42ea1c4d1388926a120aee2d01ba44ce1004bbf4 100644 --- a/PlayBot/commands/get.pm +++ b/PlayBot/commands/get.pm @@ -49,8 +49,9 @@ sub exec { if (not $query->is_global) { # we check is there is result with global my $q = PlayBot::commands::get::query->new( - chan => $query->chan, - query => $query->query . ' -a' + chan => $query->chan, + query => $query->query . ' -a' + fts => $fts, ); my $rows = $db_query->get_rows($q); diff --git a/PlayBot/sessions/irc/later.pm b/PlayBot/sessions/irc/later.pm index 474ebf7a8752e8ccb3d30b875853f6a6cefd4092..7433effed526165d6db69a7dd1da45b8b0453ae8 100644 --- a/PlayBot/sessions/irc/later.pm +++ b/PlayBot/sessions/irc/later.pm @@ -10,7 +10,7 @@ sub consume { my ($nick, $id, $chan_src) = @_; - my @args = ($nick, $id, $chan_src); + my @args = (0, $nick, $id, $chan_src); PlayBot::commands::get::exec(@args); }