1
0
mirror of https://github.com/ppy/osu.git synced 2024-09-22 07:27:25 +08:00

formatting inspection

This commit is contained in:
Max Hübner 2019-08-06 16:11:13 +02:00
parent 2f5d23b354
commit ffb6794b4e

View File

@ -222,6 +222,7 @@ namespace osu.Game.Online.Chat
}
var channel = availableChannels.Where(c => c.Name == content || c.Name == $"#{content}").FirstOrDefault();
if (channel == null)
{
target.AddNewMessages(new ErrorMessage($"Channel '{content}' not found."));