Modified Chat.cs

This commit is contained in:
sta
2013-12-03 15:45:14 +09:00
parent bf7717dde8
commit 0a263622f0
3 changed files with 6 additions and 6 deletions

View File

@@ -294,13 +294,13 @@ public class Chat : WebSocketService
private string _suffix;
public Chat ()
: this (String.Empty)
: this (null)
{
}
public Chat (string suffix)
{
_suffix = suffix;
_suffix = suffix ?? String.Empty;
}
protected override void OnMessage (MessageEventArgs e)