supybot_fixes
supybot_fixes copied to clipboard
Not sending umodes on connection
In irclib.py, line 927 ("def do376"), the function checks what umodes are supported by the server before sending the umodes given in the configuration file. However, the variable in question (self.supported['umodes']) does not contain the umodes supported but rather the ircd/version of the server:-
DEBUG 2012-12-09T15:00:27 Incoming message (testbed): :testb.ed 004 TestBot testb.ed InspIRCd-2.0 BHIhiosw Dbcdefgijklmnopstvz bdefgjklov
I believe it's as simple as changing the index on line 410 ("self.supported['umodes'] = msg.args[2]") from 2 to 3. Though i haven't checked that this will be compatible with other ircd's, this solution works in my case. I would look at the issue further if I had more time on my hands!
I think this has been fixed in Limnoria which also has network-specific umodes.