From 1e4ea4317510f83728afd6f4d50c04e7309d407b Mon Sep 17 00:00:00 2001
From: Alexandre Morignot <erdnaxeli@gmail.com>
Date: Sun, 11 Aug 2013 14:56:37 +0200
Subject: [PATCH] !help is now in query

---
 lib/commands/parser.pm | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/lib/commands/parser.pm b/lib/commands/parser.pm
index 37de252..57e113f 100644
--- a/lib/commands/parser.pm
+++ b/lib/commands/parser.pm
@@ -46,10 +46,10 @@ sub exec {
         commands::tag::exec($id, $msg);
     }
     elsif ($msg =~ /^!help/) {
-		$irc->yield(privmsg => $chan => '!fav [<id>] : enregistre la vidéo dans les favoris');
-		$irc->yield(privmsg => $chan => '!tag [<id>] <tag1> <tag2> ... : tag la vidéo');
-		$irc->yield(privmsg => $chan => '!later [<id>] [in <x>[s|m|h]] : vidéo rappelée par query (par défaut temps de 6h)');
-		$irc->yield(privmsg => $chan => 'Sans id précisée, la dernière vidéo postée est utilisée.');
+		$irc->yield(privmsg => $nick => '!fav [<id>] : enregistre la vidéo dans les favoris');
+		$irc->yield(privmsg => $nick => '!tag [<id>] <tag1> <tag2> ... : tag la vidéo');
+		$irc->yield(privmsg => $nick => '!later [<id>] [in <x>[s|m|h]] : vidéo rappelée par query (par défaut temps de 6h)');
+		$irc->yield(privmsg => $nick => 'Sans id précisée, la dernière vidéo postée sur le chan est utilisée.');
     }
     else {
         return 0;
-- 
GitLab