Skip to content
Extraits de code Groupes Projets
Valider f7713d32 rédigé par Alexandre Morignot's avatar Alexandre Morignot
Parcourir les fichiers

Fix get calls

parent cac6da92
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
...@@ -49,8 +49,9 @@ sub exec { ...@@ -49,8 +49,9 @@ sub exec {
if (not $query->is_global) { if (not $query->is_global) {
# we check is there is result with global # we check is there is result with global
my $q = PlayBot::commands::get::query->new( my $q = PlayBot::commands::get::query->new(
chan => $query->chan, chan => $query->chan,
query => $query->query . ' -a' query => $query->query . ' -a'
fts => $fts,
); );
my $rows = $db_query->get_rows($q); my $rows = $db_query->get_rows($q);
......
...@@ -10,7 +10,7 @@ sub consume ...@@ -10,7 +10,7 @@ sub consume
{ {
my ($nick, $id, $chan_src) = @_; my ($nick, $id, $chan_src) = @_;
my @args = ($nick, $id, $chan_src); my @args = (0, $nick, $id, $chan_src);
PlayBot::commands::get::exec(@args); PlayBot::commands::get::exec(@args);
} }
......
0% Chargement en cours ou .
You are about to add 0 people to the discussion. Proceed with caution.
Terminez d'abord l'édition de ce message.
Veuillez vous inscrire ou vous pour commenter