Skip to content
Extraits de code Groupes Projets
Valider 8abf3b99 rédigé par TC's avatar TC
Parcourir les fichiers

Si le search ne trouve qu'un remind, il l'affiche

parent daa8b180
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
......@@ -215,6 +215,7 @@ sub parse_string
$sched_infos{"every"} = 0;
$sched_infos{"period"}{"int"} = 0;
$sched_infos{"period"}{"string"} = "";
$sched_infos{"sleep time"} = 0;
}
# Gestion du "in" ou du "at"
......@@ -929,6 +930,8 @@ sub search_remind
my $reply = "";
if(@matches_id)
{
if(defined($matches_id[1]))
{
my $ids = join(', ', sort @matches_id);
$reply = "Id";
......@@ -936,6 +939,11 @@ sub search_remind
$reply .= " match: ".$ids;
}
else
{
return see_remind($conn, $event, $reply_to, [$matches_id[0]]);
}
}
else
{
$reply = "No match for pattern '$text'";
}
......
0% Chargement en cours ou .
You are about to add 0 people to the discussion. Proceed with caution.
Veuillez vous inscrire ou vous pour commenter