fixed a very old log commands bug thanks to ttshivers

This commit is contained in:
Master Kwoth 2017-06-01 05:17:54 +02:00
parent bf8f7c1986
commit 36515432e6

View File

@ -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)
{