From 997dc40d6c3f3a18c732c68c924be4424126922b Mon Sep 17 00:00:00 2001 From: tt2468 Date: Fri, 30 Apr 2021 10:46:53 -0700 Subject: [PATCH] WebSocketProtocol: Fix compare (oops) --- src/WebSocketProtocol.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/WebSocketProtocol.cpp b/src/WebSocketProtocol.cpp index ed114711..64f337ed 100644 --- a/src/WebSocketProtocol.cpp +++ b/src/WebSocketProtocol.cpp @@ -7,7 +7,7 @@ bool IsSupportedRpcVersion(uint8_t requestedVersion) { for (auto version : WebSocketProtocol::SupportedRpcVersions) { - if (requestedVersion = version) + if (requestedVersion == version) return true; } return false;