[Modify] Polish it

This commit is contained in:
sta 2022-01-20 21:01:31 +09:00
parent 9b7910c145
commit a85e637d5b

View File

@ -40,7 +40,10 @@ namespace Example2
protected override void OnClose (CloseEventArgs e)
{
Sessions.Broadcast (String.Format ("{0} got logged off...", _name));
var fmt = "{0} got logged off...";
var msg = String.Format (fmt, _name);
Sessions.Broadcast (msg);
}
protected override void OnMessage (MessageEventArgs e)