This was found during troubleshooting #286. On at least hybrid, perhaps other ircds, the 001 message does not include a meaningful hostmask for the user. This means that the max message length calculation is incorrect. We'll need to find a way to correctly calculate the value, possibly by issuing a WHOIS self.nick, likely in a registered event handler or something similar. I have seen a number of bots do this, and I know irssi does it at least. @jirwin, thoughts?
This was found during troubleshooting #286. On at least hybrid, perhaps other ircds, the 001 message does not include a meaningful hostmask for the user. This means that the max message length calculation is incorrect. We'll need to find a way to correctly calculate the value, possibly by issuing a
WHOIS self.nick, likely in aregisteredevent handler or something similar. I have seen a number of bots do this, and I know irssi does it at least. @jirwin, thoughts?