From 93fcd2b98cdbe0f89765741132a23c68cef4a2ee Mon Sep 17 00:00:00 2001
From: Alexandre Morignot <erdnaxeli@gmail.com>
Date: Mon, 19 Aug 2013 08:24:45 +0200
Subject: [PATCH] nickserv authentication

---
 PlayBot.pl | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/PlayBot.pl b/PlayBot.pl
index 5396f99..c76ffbb 100755
--- a/PlayBot.pl
+++ b/PlayBot.pl
@@ -290,6 +290,8 @@ sub on_speak
 
 setConf();
 
+$irc->yield(privmsg => "NickServ" => "identify ".$conf->{'nickserv_pwd'}) unless ($debug);
+
 # Boucle des events
 $poe_kernel->run();
 exit 0;
-- 
GitLab