Handle messages longer than 512 bytes
The IRC protocol limits the size of a single message to 512 bytes. If we'd like to send longer messages, we therefore have to split. Preferably we should try to find a sensible spot for the split (i.e. a word boundary), rather than just cutting off at byte 511, as WeeChat currently does it.
#1 Updated by Sputnick almost 12 years ago
Still need to take into account the length of our hostmask (right now we have hardcoded a value), which should be easily available from our self IrcUser. Also we should issue a regular WHO on self to keep our own hostmask updated (might change without notice). Since autoWHO will probably be optional at some point, we shouldn't rely on that.