From 94f3eb52f45a603761f484fb2bacae9a96042ea0 Mon Sep 17 00:00:00 2001 From: Alexandre Morignot <erdnaxeli@gmail.com> Date: Thu, 16 Oct 2014 20:14:03 +0200 Subject: [PATCH] do not react on error with !get (because of !getquote) --- lib/commands/parser.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/commands/parser.pm b/lib/commands/parser.pm index 0817433..aa07595 100644 --- a/lib/commands/parser.pm +++ b/lib/commands/parser.pm @@ -103,7 +103,7 @@ sub exec { $irc->yield(privmsg => $nick => "Toutes les commandes fonctionnent en query."); $irc->yield(privmsg => $nick => 'Niveau vie privée, potentiellement toute commande (excepté !help) entraine un enregistrement dans la base de données avec au minimum la date et l\'heure et le nick de la personne ayant exécuté la commande.'); } - elsif ($msg =~/^ *!(fav|lat|tag|get)/) { + elsif ($msg =~/^ *!(fav|lat|tag)/) { $irc->yield(privmsg => $chan->[0] => $insultes[rand @insultes]); } else { -- GitLab