Update ClashOfClans.cs

This commit is contained in:
samvaio 2016-12-17 00:42:23 +05:30 committed by GitHub
parent 60678554d7
commit 3722ab240e

View File

@ -294,7 +294,7 @@ namespace NadekoBot.Modules.ClashOfClans
var channel = (ITextChannel)Context.Channel;
//check if there are any wars
List<ClashWar> wars = null;
ClashWars.TryGetValue(channel.Guild.Id, out wars);
ClashWars.TryGetValue(Context.Guild.Id, out wars);
if (wars == null || wars.Count == 0)
{
return null;