Potential xp null error fix
This commit is contained in:
parent
927e98514a
commit
6c3025ecf1
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user