mirror of
https://github.com/DarkflameUniverse/DarkflameServer.git
synced 2025-01-09 22:37:07 +00:00
rejection statuses were backwards
This commit is contained in:
parent
b903c81a0a
commit
c80a90e81e
@ -65,8 +65,8 @@ void GameMessages::PropertyDataMessage::Serialize(RakNet::BitStream& stream) con
|
|||||||
stream.Write<uint64_t>(0);
|
stream.Write<uint64_t>(0);
|
||||||
|
|
||||||
if (rejectionReason != "") stream.Write<uint32_t>(REJECTION_STATUS_REJECTED);
|
if (rejectionReason != "") stream.Write<uint32_t>(REJECTION_STATUS_REJECTED);
|
||||||
else if (moderatorRequested == true && rejectionReason == "") stream.Write<uint32_t>(REJECTION_STATUS_PENDING);
|
else if (moderatorRequested == true && rejectionReason == "") stream.Write<uint32_t>(REJECTION_STATUS_APPROVED);
|
||||||
else stream.Write<uint32_t>(REJECTION_STATUS_APPROVED);
|
else stream.Write<uint32_t>(REJECTION_STATUS_PENDING);
|
||||||
|
|
||||||
// Does this go here???
|
// Does this go here???
|
||||||
const auto& rejectionReasonConverted = GeneralUtils::ASCIIToUTF16(rejectionReason);
|
const auto& rejectionReasonConverted = GeneralUtils::ASCIIToUTF16(rejectionReason);
|
||||||
|
Loading…
Reference in New Issue
Block a user