code: def _simplify_feature_value(self, name, value):
          
          if name == 'prefix':
              channel_modes, channel_chars = value.split(')')
              channel_modes = channel_modes[1:]
  
              # [::-1] to reverse order and go from lowest to highest privs
              value = OrderedDict(list(zip(channel_modes, channel_chars))[::-1])
  
              return value
  
          elif name == 'chanmodes':
              value = value.split(',')
              return value
  
          elif name == 'targmax':
              max_available = {}
              for sort in value.split(','):
                  command, limit = sort.split(':')
                  command = command.casefold()
                  max_available[command] = limit_to_number(limit)
  
              return max_available
  
          elif name == 'chanlimit':
              limit_available = {}
              for sort in value.split(','):
                  chan_types, limit = sort.split(':')
                  for prefix in chan_types:
                      limit_available[prefix] = limit_to_number(limit)
  
              return limit_available
  
          elif name in _limits:
              value = limit_to_number(value)
              return value
  
          else:
              return value
docs: Return simplified and more pythonic feature values.