prepend missing N

This commit is contained in:
Lion Kortlepel
2024-06-04 17:34:14 +02:00
parent c4e7b9a919
commit acd5f4ed09

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));
}