From e07806424bd0dd5278b838842fdad05228756268 Mon Sep 17 00:00:00 2001 From: Chris Marsh Date: Mon, 28 Aug 2017 10:02:37 -0700 Subject: [PATCH] copy-n-paste bug --- src/serialization.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/serialization.cpp b/src/serialization.cpp index ef08e22..a79363e 100644 --- a/src/serialization.cpp +++ b/src/serialization.cpp @@ -123,7 +123,7 @@ size_t JsonWriteRichPresenceObj(char* dest, if ((presence->matchSecret && presence->matchSecret[0]) || (presence->joinSecret && presence->joinSecret[0]) || - (presence->spectateSecret && presence->joinSecret[0])) { + (presence->spectateSecret && presence->spectateSecret[0])) { WriteObject secrets(writer, "secrets"); WriteOptionalString(writer, "match", presence->matchSecret); WriteOptionalString(writer, "join", presence->joinSecret);