summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--plugins/MirOTR/src/svcs_proto.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/MirOTR/src/svcs_proto.cpp b/plugins/MirOTR/src/svcs_proto.cpp
index 37ccce5f15..f28c12c792 100644
--- a/plugins/MirOTR/src/svcs_proto.cpp
+++ b/plugins/MirOTR/src/svcs_proto.cpp
@@ -139,7 +139,7 @@ INT_PTR SVC_OTRRecvMessage(WPARAM wParam,LPARAM lParam)
CMStringA tmp = options.prefix;
tmp.Append(newmessage);
msg_free(newmessage);
- newmessage = mir_strdup(tmp);
+ replaceStr(newmessage, tmp.Detach());
msg_free = mir_free;
}
pre->szMessage = newmessage;