irc_421: 'irc.com' 'NICKSERV :Unknown command' [2]
####
sub _start {
my $irc = POE::Component::IRC::State->spawn(
nick => $nick,
Username => $username,
ircname => $desc,
server => $server_address,
);
$_[HEAP]{dns} = POE::Component::Client::DNS->spawn;
$_[HEAP]{irc} = $irc;
$irc->plugin_add(
'NickServID',
POE::Component::IRC::Plugin::NickServID->new(
Password => 'superdupersecret'
),
);
$irc->plugin_add(
'AutoJoin',
POE::Component::IRC::Plugin::AutoJoin->new(
Channels => $channel,
),
);
$irc->yield( register => 'all' );
$irc->yield( 'connect' );
return;
}
##
##
irc_notice: 'NickServ!services@localhost.net' [1] 'This nickname is registered and protected. If it is your'
irc_notice: 'NickServ!services@localhost.net' [1] 'nick, type /msg NickServ IDENTIFY password. Otherwise,'
irc_notice: 'NickServ!services@localhost.net' [1] 'please choose a different nick.'
irc_221: 'irc.com' '+' [1]
irc_421: 'irc.com' 'NICKSERV :Unknown command' [2]