Potential xp null error fix

This commit is contained in:
Master Kwoth committed 2017-09-11 01:42:39 +02:00
1 parent 927e98514a
commit 6c3025ecf1
1 file changed
+1
@@ -79,6 +79,7 @@ namespace NadekoBot.Modules.Xp.Services
_strings = strings;
//load settings
allGuildConfigs = allGuildConfigs.Where(x => x.XpSettings != null);
_excludedChannels = allGuildConfigs
.ToDictionary(
x => x.GuildId,