private function login()
    {
        if (isset($this->config['connection_password'])) {
            $this->send(Response::pass($this->config['connection_password']));
        }

        $this->send(Response::nick($this->config['nick']));
        $this->send(Response::user(
            $this->config['username'],
            $this->config['realname']
        ));

        if (isset($this->config['password'])) {
            $this->send(Response::msg(
                'NickServ',
                'IDENTIFY ' . $this->config['password']
            ));
        }
    }