From 9eb9e69edc244465a84fdd13ecd8a0d46104c506 Mon Sep 17 00:00:00 2001 From: Kwoth Date: Sun, 29 Jan 2017 00:50:22 +0100 Subject: [PATCH] Fixed coc --- src/NadekoBot/Modules/ClashOfClans/ClashOfClans.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/NadekoBot/Modules/ClashOfClans/ClashOfClans.cs b/src/NadekoBot/Modules/ClashOfClans/ClashOfClans.cs index 4fc33705..67510d56 100644 --- a/src/NadekoBot/Modules/ClashOfClans/ClashOfClans.cs +++ b/src/NadekoBot/Modules/ClashOfClans/ClashOfClans.cs @@ -36,7 +36,7 @@ namespace NadekoBot.Modules.ClashOfClans .GetAllWars() .Select(cw => { - cw.Channel = NadekoBot.Client.GetGuild(cw.GuildId) + cw.Channel = NadekoBot.Client.GetGuild(cw.GuildId)? .GetTextChannel(cw.ChannelId); return cw; })