aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/ThirdParty/3Di/LoadBalancer/TcpServer.cs
diff options
context:
space:
mode:
Diffstat (limited to 'ThirdParty/3Di/LoadBalancer/TcpServer.cs')
-rw-r--r--ThirdParty/3Di/LoadBalancer/TcpServer.cs8
1 files changed, 4 insertions, 4 deletions
diff --git a/ThirdParty/3Di/LoadBalancer/TcpServer.cs b/ThirdParty/3Di/LoadBalancer/TcpServer.cs
index fd5e9e2..376c0a5 100644
--- a/ThirdParty/3Di/LoadBalancer/TcpServer.cs
+++ b/ThirdParty/3Di/LoadBalancer/TcpServer.cs
@@ -159,14 +159,14 @@ namespace OpenSim.ApplicationPlugins.LoadBalancer
159 159
160 state.ms_ptr.Seek(0, SeekOrigin.End); 160 state.ms_ptr.Seek(0, SeekOrigin.End);
161 // call loadbarancer function 161 // call loadbarancer function
162 if (PacketHandler != null) 162 if (PacketHandler == null)
163 { 163 {
164 //MainLog.Instance.Verbose("TCPSERVER", "calling PacketHandler"); 164 //MainLog.Instance.Verbose("TCPSERVER", "PacketHandler not found");
165 PacketHandler(state.header, packet);
166 } 165 }
167 else 166 else
168 { 167 {
169 //MainLog.Instance.Verbose("TCPSERVER", "PacketHandler not found"); 168 //MainLog.Instance.Verbose("TCPSERVER", "calling PacketHandler");
169 PacketHandler(state.header, packet);
170 } 170 }
171 171
172 int read_size = state.header.numbytes + TcpClient.internalPacketHeaderSize; 172 int read_size = state.header.numbytes + TcpClient.internalPacketHeaderSize;