log joins
This commit is contained in:
parent
d62c8ca564
commit
58d2c21ca3
1 changed files with 2 additions and 1 deletions
|
@ -129,7 +129,7 @@ public class VM
|
|||
};
|
||||
user.Disconnected += async (_, _) =>
|
||||
{
|
||||
Utilities.Log(LogLevel.INFO, $"User {user.Username!} disconnected");
|
||||
Utilities.Log(LogLevel.INFO, $"[{Config.ID}] User {user.Username!} disconnected");
|
||||
this.Users.Remove(user);
|
||||
this.TurnQueue.RemoveUser(user);
|
||||
user.IPData.Reset();
|
||||
|
@ -149,6 +149,7 @@ public class VM
|
|||
{
|
||||
await u.SendNewUser(user.Username!, user.Rank);
|
||||
}
|
||||
Utilities.Log(LogLevel.INFO, $"[{Config.Name}] {user.IP.ToString()} connected as {user.Username}");
|
||||
}
|
||||
|
||||
public async Task SendChat(User user, string message, bool xss = false, bool excludeAdmins = false)
|
||||
|
|
Loading…
Reference in a new issue