Fixed log of getCurrentUser command on server
This commit is contained in:
@@ -54,7 +54,7 @@ namespace SamaPager_Server
|
||||
case "!getCurrentUser":
|
||||
bytesToSend = Encoding.UTF8.GetBytes($"Hi, I'm running as {Environment.UserName}");
|
||||
this.UdpServer.Send(bytesToSend, bytesToSend.Length, receiveEndPoint);
|
||||
return $"Time command received by {receiveEndPoint}, sent the user server is running on";
|
||||
return $"Command \"!getCurrentUser\" received by {receiveEndPoint}, sent the username the server is running on";
|
||||
default:
|
||||
return $"[{DateTime.Now}] {receiveEndPoint}: {receivedMessage}";
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user