Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
use camelia account instead
Signed-off-by: diakopter <diakopter@gmail.com>
  • Loading branch information
Perl 6 Evalbot authored and diakopter committed Apr 14, 2013
1 parent d31c208 commit 692b905
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
6 changes: 6 additions & 0 deletions evalbot.pl
Expand Up @@ -299,6 +299,11 @@ package Evalbot;
return "parse OK";
}
}

sub connected {
my $bot = shift;
$bot->say(who=>'nickserv',channel=>'msg',body=>"identify $bot->{__nickpass}") if exists $bot->{__nickpass};
}
}

package main;
Expand Down Expand Up @@ -334,6 +339,7 @@ package main;
name => "combined, experimental evalbot",
charset => "utf-8",
);
$bot->{__nickpass} = $conf{pass} if exists $conf{pass};
$bot->run();

# vim: ts=4 sw=4 expandtab
5 changes: 3 additions & 2 deletions freenode.org.conf
@@ -1,4 +1,5 @@
server = irc.freenode.org
channels = perl6 november-wiki swhack dbdi perl6book perl-kr rosettacode
nick = p6eval
alt_nicks = p6_eval
nick = camelia
alt_nicks = p6eval p6_eval
pass = WFkuDV17A6Jhj

0 comments on commit 692b905

Please sign in to comment.