Skip to content

Commit

Permalink
Fixed validation on LogoutPacket
Browse files Browse the repository at this point in the history
Due to me just copy pasting the Validation Code from the LeavePacket I forgot to change it
  • Loading branch information
Curve committed Jun 14, 2020
1 parent d910042 commit 00918a3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Requests.h
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@ struct LogoutRequest
bool confirmLogout;
static bool IsValid(json j)
{
if (j["confirmLeave"].is_boolean())
if (j["confirmLogout"].is_boolean())
return true;
return false;
}
Expand Down

0 comments on commit 00918a3

Please sign in to comment.