diff options
-rw-r--r-- | protocols/Discord/src/proto.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/protocols/Discord/src/proto.h b/protocols/Discord/src/proto.h index a39325b77e..7e346d4a71 100644 --- a/protocols/Discord/src/proto.h +++ b/protocols/Discord/src/proto.h @@ -65,7 +65,7 @@ __forceinline JSONNode& operator<<(JSONNode &json, const CHAR_PARAM ¶m) __forceinline JSONNode& operator<<(JSONNode &json, const WCHAR_PARAM ¶m) { - json.push_back(JSONNode(param.szName, ptrA(mir_utf8encodeW(param.wszValue)))); + json.push_back(JSONNode(param.szName, ptrA(mir_utf8encodeW(param.wszValue)).get())); return json; } |