mirror of
https://github.com/tgstation/tgstation-server.git
synced 2026-08-27 15:07:03 +01:00
@@ -501,7 +501,10 @@ namespace Tgstation.Server.Host.Components.Chat
|
||||
: $"TGS: Updating to version {updateVersion}...";
|
||||
List<ulong> wdChannels;
|
||||
lock (mappedChannels) // so it doesn't change while we're using it
|
||||
wdChannels = mappedChannels.Select(x => x.Key).ToList();
|
||||
wdChannels = mappedChannels
|
||||
.Where(x => !x.Value.Channel.IsPrivateChannel)
|
||||
.Select(x => x.Key)
|
||||
.ToList();
|
||||
|
||||
return SendMessage(message, wdChannels, cancellationToken);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user