aboutsummaryrefslogtreecommitdiff
path: root/ShiftOS.Server/Program.cs
diff options
context:
space:
mode:
authorMichael VanOverbeek <[email protected]>2017-02-26 20:09:32 +0000
committerMichael VanOverbeek <[email protected]>2017-02-26 20:09:32 +0000
commit0e3362e8e3c635150d92fd5acc9d69473ec588fc (patch)
treeab5dc5945c7200fc86a318b14c8842ac260ede30 /ShiftOS.Server/Program.cs
parent1c3ddeaeda70d62be5c79d2e20ac3af619c07854 (diff)
downloadshiftos_thereturn-0e3362e8e3c635150d92fd5acc9d69473ec588fc.tar.gz
shiftos_thereturn-0e3362e8e3c635150d92fd5acc9d69473ec588fc.tar.bz2
shiftos_thereturn-0e3362e8e3c635150d92fd5acc9d69473ec588fc.zip
fix bug with string messages
Diffstat (limited to 'ShiftOS.Server/Program.cs')
-rw-r--r--ShiftOS.Server/Program.cs4
1 files changed, 4 insertions, 0 deletions
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