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;
|
_strings = strings;
|
||||||
|
|
||||||
//load settings
|
//load settings
|
||||||
|
allGuildConfigs = allGuildConfigs.Where(x => x.XpSettings != null);
|
||||||
_excludedChannels = allGuildConfigs
|
_excludedChannels = allGuildConfigs
|
||||||
.ToDictionary(
|
.ToDictionary(
|
||||||
x => x.GuildId,
|
x => x.GuildId,
|
||||||
|
Loading…
Reference in New Issue
Block a user