supybot_fixes icon indicating copy to clipboard operation
supybot_fixes copied to clipboard

Not sending umodes on connection

Open TramadolNights opened this issue 12 years ago • 1 comments

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!

TramadolNights avatar Dec 09 '12 15:12 TramadolNights

I think this has been fixed in Limnoria which also has network-specific umodes.

Mikaela avatar Aug 22 '14 05:08 Mikaela