fix auth packet prefix

This commit is contained in:
Lion Kortlepel 2024-06-18 09:46:33 +02:00
parent bb04d1bfe1
commit ba9719ed67
No known key found for this signature in database
GPG Key ID: 4322FF2B4C71259B

View File

@ -180,7 +180,7 @@ void Parse(std::string Data, SOCKET CSocket) {
if (!UserRole.empty()) {
Auth["role"] = UserRole;
}
Data = Auth.dump();
Data = "N" + Auth.dump();
} else {
Data = "N" + Login(Data.substr(Data.find(':') + 1));
}