Why not adopt me?
This distribution is up for adoption!
If you're interested then please contact the PAUSE module admins via
email.
NAME
Bot::Cobalt::IRC::Event::Nick - IRC Event subclass for nick changes
SYNOPSIS
my $old = $nchg_ev->old_nick;
my $new = $nchg_ev->new_nick;
if ( $nchg_ev->equal ) {
## Case change only
}
my $common_chans = $nchg_ev->channels;
DESCRIPTION
This is the Bot::Cobalt::IRC::Event subclass for nickname changes.
new_nick
Returns the new nickname, after the nick change.
old_nick
Returns the previous nickname, prior to the nick change.
channels
Returns a List::Objects::WithUtils::Array containing the list of channels we share with the user that changed nicks (at the time of the nickname change).
equal
Returns a boolean value indicating whether or not this was simply a case change (as determined via the server's announced casemapping and "eq_irc" in IRC::Utils)
AUTHOR
Jon Portnoy <avenj@cobaltirc.org>