From 36515432e661689e074d7bc80f9e26fef61bdc8f Mon Sep 17 00:00:00 2001 From: Master Kwoth Date: Thu, 1 Jun 2017 05:17:54 +0200 Subject: [PATCH] fixed a very old log commands bug thanks to ttshivers --- .../Database/Repositories/Impl/GuildConfigRepository.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) {