aboutsummaryrefslogtreecommitdiff
path: root/ShiftOS.Server/Program.cs
diff options
context:
space:
mode:
Diffstat (limited to 'ShiftOS.Server/Program.cs')
-rw-r--r--ShiftOS.Server/Program.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/ShiftOS.Server/Program.cs b/ShiftOS.Server/Program.cs
index d8d953e..6c6d1da 100644
--- a/ShiftOS.Server/Program.cs
+++ b/ShiftOS.Server/Program.cs
@@ -294,9 +294,9 @@ Contents:
}));
break;
case "trm_handshake_accept":
- if(args["guid"] != null)
+ if(args["guid"] != null && args["target"] != null)
{
- server.DispatchTo(new Guid(msg.GUID), new NetObject("hold_it", new ServerMessage
+ server.DispatchTo(new Guid(args["target"] as string), new NetObject("hold_it", new ServerMessage
{
Name = "trm_handshake_guid",
GUID = args["guid"] as string