=== modified file 'otr.c'
|
|
|
|
| 724 | 724 | irc_user_t *iu = peeruser(irc, ctx->username, ctx->protocol); |
| 725 | 725 | |
| 726 | 726 | if(typ == OTRL_CONVERT_RECEIVING) { |
| 727 | | char *msg = g_strdup(src); |
| | 727 | char *msg_otr = g_strdup(src); |
| | 728 | char *msg = msg_otr; |
| 728 | 729 | |
| 729 | 730 | /* HTML decoding */ |
| 730 | 731 | if(set_getbool(&ic->bee->set, "otr_does_html") && |
| … |
… |
|
| 760 | 761 | |
| 761 | 762 | *dst = g_strdup_printf("%s\x03%.2d%s%s\x0F", pre, |
| 762 | 763 | color, sep, msg); |
| 763 | | g_free(msg); |
| | 764 | g_free(msg_otr); |
| 764 | 765 | } |
| 765 | 766 | } else { |
| 766 | 767 | /* HTML encoding */ |