diff --git a/lib/commands/edit.pm b/lib/commands/edit.pm index de4c6a45f7e83a3fa422c0115c9008b84ecf8e8a..22e8729d1fba26ebdfac50a4447dee933ff8211c 100644 --- a/lib/commands/edit.pm +++ b/lib/commands/edit.pm @@ -18,7 +18,7 @@ sub exec { $dbh->{AutoCommit} = 0; $dbh->{RaiseError} = 1; - if ($command eq "lien" or $command eq "url") { + if ($command eq "lien" or $command eq "url" or $command eq "link") { if ($arg !~ /^$RE{URI}{HTTP}{-scheme => qr(https?)}$/) { $irc->yield(privmsg => $chan => "Ce n'est pas une url valide"); }