

def can_send(self, client):
    member = self.get_member(self)
    if ((not self.props.get('allow-external', False)) and (not member)):
        return False
    if self.props.get('moderated', False):
        return False
    return True

dataset/ETHPy150Open mammon-ircd/mammon/mammon/channel.py Channel.can_send/VarMisuse@18/21 `client`->`self`