mirror of
https://github.com/LBPUnion/ProjectLighthouse.git
synced 2025-08-04 10:58:38 +00:00
Fix all compiler warnings
This commit is contained in:
parent
ce5e327011
commit
b9a310ef90
9 changed files with 27 additions and 31 deletions
|
@ -73,7 +73,7 @@ public class GameServerStartup
|
|||
async (context, next) =>
|
||||
{
|
||||
// Client digest check.
|
||||
if (!context.Request.Cookies.TryGetValue("MM_AUTH", out string authCookie)) authCookie = string.Empty;
|
||||
if (!context.Request.Cookies.TryGetValue("MM_AUTH", out string? authCookie) || authCookie == null) authCookie = string.Empty;
|
||||
string digestPath = context.Request.Path;
|
||||
Stream body = context.Request.Body;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue