Ticket #4253: my-twisted-patch.patch

File my-twisted-patch.patch, 601 bytes (added by ChosenOne, 8 years ago)

patch for irc.py, which will fix the mentioned bug

  • twisted/words/protocols/irc.py

     
    744744            raise ValueError(
    745745                'Expecting a maximum of %d channel mode parameters, got %d' % (
    746746                    len(names), len(params)))
    747         items = map(lambda key, value: (key, value or ''), names, params)
     747        items = zip(names, params.split(','))
    748748        return dict(items)
    749749    _parseChanModesParam = classmethod(_parseChanModesParam)
    750750