Potential xp null error fix
This commit is contained in:
1 parent
927e98514a
commit
6c3025ecf1
1 file changed
+1
@@ -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,
|
||||||
|
|||||||
Reference in new issue
Block a user