The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

POE::Component::IRC::Plugin::NickServID - A PoCo-IRC plugin which identifies with NickServ when needed

SYNOPSIS

use POE::Component::IRC::Plugin::NickServID;

$irc->plugin_add( 'NickServID', POE::Component::IRC::Plugin::NickServID->new(
    Password => 'opensesame'
));

DESCRIPTION

POE::Component::IRC::Plugin::NickServID is a POE::Component::IRC plugin. It identifies with NickServ on connect and when you change your nick, if your nickname matches the supplied password.

Note: If you have a cloak and you don't want to be seen without it, make sure you don't join channels until after you've identified yourself. If you use the AutoJoin plugin, it will be taken care of for you.

METHODS

new

Arguments:

'Password', the NickServ password.

Returns a plugin object suitable for feeding to POE::Component::IRC's plugin_add() method.

OUTPUT EVENTS

irc_identified

This event will be sent when you have identified with NickServ. No arguments are passed with it.

AUTHOR

Hinrik Örn Sigurðsson, hinrik.sig@gmail.com