Potential xp null error fix

This commit is contained in:
Master Kwoth 2017-09-11 01:42:39 +02:00
parent 927e98514a
commit 6c3025ecf1

View File

@ -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,