Browse Source

[Modify] Polish it

pull/117/merge
sta 4 years ago
parent
commit
468119790c
  1. 5
      Example3/Chat.cs

5
Example3/Chat.cs

@ -60,6 +60,11 @@ namespace Example3
protected override void OnOpen () protected override void OnOpen ()
{ {
_name = getName (); _name = getName ();
var fmt = "{0} has logged in!";
var msg = String.Format (fmt, _name);
Sessions.Broadcast (msg);
} }
} }
} }
Loading…
Cancel
Save