Sometimes a plugin will return a message over 512 bytes. Need to find a good solution to figure out length of bytestring and split it if necessary into multiple blocks to send back to the message sending function.
What I need to implement:
[x] Check for size of message converted to bytes
[x] log failures due to byte size
This is all the framework should handle. Plugins should be responsible for cleaning up messages sent to irc.
Sometimes a plugin will return a message over 512 bytes. Need to find a good solution to figure out length of bytestring and split it if necessary into multiple blocks to send back to the message sending function.
What I need to implement:
This is all the framework should handle. Plugins should be responsible for cleaning up messages sent to irc.