public function getUserModes(ConnectionInterface $connection, $channel, $nick)
    {
        $connectionMask = $this->getConnectionMask($connection);
        if (isset($this->modes[$connectionMask][$channel][$nick])) {
            return array_keys($this->modes[$connectionMask][$channel][$nick]);
        }
        return array();
    }