From 3ed0120b9ba2f6ef424a5a49bb230ce24e356926 Mon Sep 17 00:00:00 2001
From: Li
Date: Thu, 17 Nov 2022 14:59:46 +1300
Subject: [PATCH] blah
---
HorseIsleServer/LibHISP/Server/Network/Hybrid.cs | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/HorseIsleServer/LibHISP/Server/Network/Hybrid.cs b/HorseIsleServer/LibHISP/Server/Network/Hybrid.cs
index 08f9425..323f4ac 100644
--- a/HorseIsleServer/LibHISP/Server/Network/Hybrid.cs
+++ b/HorseIsleServer/LibHISP/Server/Network/Hybrid.cs
@@ -88,8 +88,9 @@ namespace HISP.Server.Network
{
try
{
- if (!base.checkForError(e))
- ProcessReceivedPackets(e.BytesTransferred, e.Buffer);
+ if(base.checkForError(e)) return;
+ ProcessReceivedPackets(e.BytesTransferred, e.Buffer);
+ if (base.checkForError(e)) return;
}
catch (Exception ex)
{