This commit is contained in:
CortexCore
2024-06-17 16:38:47 +08:00
parent d22cef8990
commit aceed70611
2 changed files with 7 additions and 7 deletions

View File

@@ -176,7 +176,7 @@ namespace BITKit.Net
_netServerImplementation1.StopServer(dispose);
}
public bool IsRunningServer => _netServerImplementation1.IsRunningServer;
public bool IsRunningServer => _netServerImplementation1 is { IsRunningServer: true };
public void SendMessageToClient(int id, string message)
{