src/IrcParser.php
protected function handleJOIN($origin, $msg)
    {
        // :nick1!ident@host JOIN :#chan
        return $this->connection->dispatch(
            $this->makeEvent('!Join', $msg[0], $origin)
        );
    }
protected function handleJOIN($origin, $msg)
    {
        // :nick1!ident@host JOIN :#chan
        return $this->connection->dispatch(
            $this->makeEvent('!Join', $msg[0], $origin)
        );
    }
protected function handleJOIN ( $ origin , $ msg ) { // :nick1!ident@host JOIN :#chan return $ this -> connection -> dispatch ( $ this -> makeEvent ( '!Join' , $ msg [ 0 ] , $ origin ) ) ; }
Processes a message of type JOIN.

\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 JOIN .