From 0e3362e8e3c635150d92fd5acc9d69473ec588fc Mon Sep 17 00:00:00 2001 From: Michael VanOverbeek Date: Sun, 26 Feb 2017 20:09:32 +0000 Subject: [PATCH] fix bug with string messages --- ShiftOS.Server/Program.cs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/ShiftOS.Server/Program.cs b/ShiftOS.Server/Program.cs index 016e1bf..04d7b2e 100644 --- a/ShiftOS.Server/Program.cs +++ b/ShiftOS.Server/Program.cs @@ -331,6 +331,10 @@ namespace ShiftOS.Server { throwOnNull = false; } + else if(mAttrib.ExpectedType == typeof(string)) + { + contents = msg.Contents; + } else { //object type