Currently, we send the last message we saw from a user in quotes. Since the message may contain control codes, we send the "clear formatting" control code just before the close quote.
However - channels with +c set on them block messages with formatting codes. Whether the message originally contained control codes or not, we should strip them, and not send our "clear formatting" code at the end of the message.
Currently, we send the last message we saw from a user in quotes. Since the message may contain control codes, we send the "clear formatting" control code just before the close quote.
However - channels with
+c
set on them block messages with formatting codes. Whether the message originally contained control codes or not, we should strip them, and not send our "clear formatting" code at the end of the message.