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

When we post a link, tags *must* start with '#'

parent 0bdc0487
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
......@@ -85,8 +85,9 @@ sub exec {
sub tag {
my ($msg, $chan) = @_;
my @tags = ($msg =~ /#([a-zA-Z0-9_-]+)/g);
commands::tag::exec($lastID{$chan->[0]}, $msg);
commands::tag::exec($lastID{$chan->[0]}, "@tags");
}
1;
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