diff --git a/src/NadekoBot/Services/Database/Repositories/Impl/GuildConfigRepository.cs b/src/NadekoBot/Services/Database/Repositories/Impl/GuildConfigRepository.cs index ebe41406..db9e177c 100644 --- a/src/NadekoBot/Services/Database/Repositories/Impl/GuildConfigRepository.cs +++ b/src/NadekoBot/Services/Database/Repositories/Impl/GuildConfigRepository.cs @@ -98,7 +98,7 @@ namespace NadekoBot.Services.Database.Repositories.Impl { var config = _set.Include(gc => gc.LogSetting) .ThenInclude(gc => gc.IgnoredChannels) - .FirstOrDefault(); + .FirstOrDefault(x => x.GuildId == guildId); if (config == null) {