Fixed blacklist not working properly for guild owners

This commit is contained in:
Kwoth 2016-11-01 19:14:56 +01:00
parent c111f4c864
commit 371d21e785

View File

@ -110,6 +110,7 @@ namespace NadekoBot.Services
_log.Warn("I do not have permission to filter words in channel with id " + usrMsg.Channel.Id, ex);
}
}
}
BlacklistItem blacklistedItem;
if ((blacklistedItem = Permissions.BlacklistCommands.BlacklistedItems.FirstOrDefault(bi =>
@ -119,7 +120,7 @@ namespace NadekoBot.Services
{
return;
}
}
var throwaway = Task.Run(async () =>
{
var sw = new Stopwatch();