-
-
Notifications
You must be signed in to change notification settings - Fork 402
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Sopel should keep track of its full hostmask #1322
Comments
This is actually harder to do than it sounds. I'd like for Sopel to use the full line length available, too, but external factors can change an IRC user's hostname without notice: server-side mode changes, HostServ or similar being turned on/off, cloaking applied after NickServ authentication, etc. Is there a reliable way to monitor for changes in one's own hostname that I'm unaware of? Happy to look into doing this if it's technically possible without a kludge like polling. 😸 As an aside, I've used multiple other IRC clients and frameworks that conservatively truncate (split) lines because they don't want to deal with tracking hostname changes either. |
Sopel tracks its hostmask as of #1537, but this is left open for the "512 limit" piece—that is, making Sopel actually use the stored hostmask to send as much as possible. |
Just going to leave this here in regards to how many bytes the hostmask takes, and how many bytes it could portentially take as error handling.
|
@deathbybandaid In 7.x we have |
Can we properly setup
Sopel.say()
to construct PRIVMSGs that will actually be at the 512 limit?The text was updated successfully, but these errors were encountered: