From a901a8a4c82b2fb6650d94de09de8401fbca401f Mon Sep 17 00:00:00 2001 From: Pragmatic Software Date: Tue, 30 Mar 2010 06:34:08 +0000 Subject: [PATCH] Correct autologin issue --- PBot/PBot.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PBot/PBot.pm b/PBot/PBot.pm index 46cef2b1..740f443c 100644 --- a/PBot/PBot.pm +++ b/PBot/PBot.pm @@ -109,7 +109,7 @@ sub initialize { $self->admins->load_admins(); $self->admins->add_admin($botnick, '.*', "$botnick!stdin\@localhost", 60, 'admin'); - $self->admins->login('pbot3', "$botnick!stdin\@localhost", 'admin'); + $self->admins->login($botnick, "$botnick!stdin\@localhost", 'admin'); $self->{factoids} = PBot::Factoids->new( pbot => $self,