From b65092916debd87c1bb0c12a7afe771851ea3f44 Mon Sep 17 00:00:00 2001
From: Alexandre Morignot <erdnaxeli@cervoi.se>
Date: Thu, 11 Dec 2014 18:11:27 +0100
Subject: [PATCH] =?UTF-8?q?pr=C3=A9vention=20pour=20Sam=5F?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

---
 Sam.pl | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/Sam.pl b/Sam.pl
index a1c8612..3e258fd 100755
--- a/Sam.pl
+++ b/Sam.pl
@@ -21,7 +21,7 @@ my $nick = 'Sam';
 my $port = 6667;
 my $ircname = 'nightiies';
 my $username = 'nightiies';
-my @channels = qw(#nightiies #bigphatsubwoofer);
+my @channels = qw(#nightiies #bigphatsubwoofer #metaliiste);
 my $admin = 'moise';
 my $baseurl = 'http://nightiies.iiens.net/sam/';
 my %lastID;
@@ -135,7 +135,9 @@ sub on_query
 				last;
 			}
 		}
-	}
+	} else {
+        $irc->yield(privmsg => $nick => "Je suis un bot, tu veux peut-être parler à Sam_ ?");
+    }
 }
 
 # Quand on m'invite, je join
-- 
GitLab