Skip to content

Commit

Permalink
log users who start server
Browse files Browse the repository at this point in the history
  • Loading branch information
gnubufferoverflows committed Mar 17, 2021
1 parent ca7d70f commit 6e6e824
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions ReactEventHandler.cs
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ public async Task Handle(Cacheable<IUserMessage, ulong> msg, ISocketMessageChann
var status = await ServerStateManager.Instance().GetState();
if(status.InstanceState.Code == 80)
{
Console.WriteLine("User ID" + r.UserId + " initated a server start.");
ThreadPool.QueueUserWorkItem(async delegate
{
try
Expand Down

0 comments on commit 6e6e824

Please sign in to comment.