prepend missing N

This commit is contained in:
Lion Kortlepel 2024-06-04 17:34:14 +02:00
parent c4e7b9a919
commit acd5f4ed09
No known key found for this signature in database
GPG Key ID: 4322FF2B4C71259B

View File

@ -151,7 +151,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));
}