CHANMODES parameter in ISUPPORT is parsed incorrectly

[email protected] Wed, 03 Feb 2010 11:45:01 -0000
Newsgroups gmane.comp.python.twisted.bugs
Message-ID <[email protected]>
New submission from ChosenOne <None>:

The CHANMODES parameter is currently parsed incorrectly by ''isupport_CHANMODES''.
The modeline is a comma-seperated list of letters, which gives you modes who require:
- an address on setting and unsetting
- a parameter on setting and unsetting
- a parameter only on setting
- no parameter at all.

(i.e. ('addressModes', 'param', 'setParam', 'noParam'))

Currently isupport_CHANMODES will disregard the comma and stuff all the modes into a dict which results to wrong output.

Instead, we should split the CHANMODES parameter at the comma and then build a dict according to the elements we get.



----------
Type     : enhancement
Component: words
Keywords : chanmodes isupport
Priority : normal
Nosy     : 
----------
http://twistedmatrix.com/trac/ticket/4253