src/IrcParser.php
protected function handleNICK($origin, $msg)
    {
        // :oldnick!ident@host NICK newnick
        return $this->connection->dispatch(
            $this->makeEvent('!Nick', $origin, $msg[0])
        );
    }
protected function handleNICK($origin, $msg)
    {
        // :oldnick!ident@host NICK newnick
        return $this->connection->dispatch(
            $this->makeEvent('!Nick', $origin, $msg[0])
        );
    }
protected function handleNICK ( $ origin , $ msg ) { // :oldnick!ident@host NICK newnick return $ this -> connection -> dispatch ( $ this -> makeEvent ( '!Nick' , $ origin , $ msg [ 0 ] ) ) ; }
Processes a message of type NICK.

\param string $origin
Origin of the message to process.

\param Erebot::Interfaces::IrcTextWrapper $msg
The message to process, wrapped in
a special object that makes it easier
to analyze each token separately.
Processes a message of type NICK .