diff options
author | dequis <dx@dxzone.com.ar> | 2015-08-11 01:53:08 -0300 |
---|---|---|
committer | dequis <dx@dxzone.com.ar> | 2015-08-11 03:48:15 -0300 |
commit | 654112d4a84babd994c5f61543ca3ebe6de6f1f3 (patch) | |
tree | d74c1f700ab0d17c0e54a071426575d5fc779863 /irc.c | |
parent | 666722e67f6802cea4ef231834ea9e3ad321fdae (diff) |
otr: color multiline messages
Fixes trac ticket 710.
Incoming messages can have newlines in them, which become several
PRIVMSG on the irc layer. Prepending color codes at the beginning of the
message resulted in showing the rest of those PRIVMSG as white.
This splits the message by newlines and rebuilds it in a GString,
re-adding the color codes right after each newline.
Diffstat (limited to 'irc.c')
0 files changed, 0 insertions, 0 deletions