public function getList($channelarray = null, $priority = SMARTIRC_MEDIUM)
    {
        if ($channelarray !== null) {
            if (!is_array($channelarray)) {
                $channelarray = array($channelarray);
            }

            $channellist = implode(',', $channelarray);
            $this->send('LIST '.$channellist, $priority);
        } else {
            $this->send('LIST', $priority);
        }
        return $this;
    }