

@property
def legacy_modes(self):
    args = ['+']
    for i in self.props.keys():
        if ((self.props[i] != False) and (i in channel_property_items) and (not ((i == 'ban') or (i == 'quiet') or (i == 'invite-exemption') or (i == 'exemption')))):
            args[0] += channel_property_items[i]
            if (self.props[i] != True):
                args.append(self.props[i])
    return ' '.join(args)

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