

def can_display(self, client):
    if self.props.get('secret', False):
        return self.has_member(client)
    return True

dataset/ETHPy150Open mammon-ircd/mammon/mammon/channel.py Channel.can_display/original