[Modify] Polish it
This commit is contained in:
parent
750c71e1be
commit
468119790c
@ -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…
Reference in New Issue
Block a user