mirror of
https://github.com/ClassiCube/MCGalaxy.git
synced 2025-09-22 12:05:51 -04:00
Show client's app name in server logs when connecting
This commit is contained in:
parent
64b5cc833c
commit
8a87cb977f
@ -161,7 +161,11 @@ namespace MCGalaxy {
|
||||
SendMessage("&cPlease complete admin verification with &a/pass [Password]!");
|
||||
}
|
||||
|
||||
Server.s.Log(name + " [" + ip + "] has joined the server.");
|
||||
if (String.IsNullOrEmpty(appName)) {
|
||||
Server.s.Log(name + " [" + ip + "] connected.");
|
||||
} else {
|
||||
Server.s.Log(name + " [" + ip + "] connected using " + appName + ".");
|
||||
}
|
||||
Game.InfectMessages = PlayerDB.GetInfectMessages(this);
|
||||
Server.zombie.PlayerJoinedServer(this);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user