Performance improvements. Timely command almost done

This commit is contained in:
Master Kwoth committed 2017-10-26 11:31:44 +02:00
1 parent ffcaa594c9
commit 8220487672
18 files changed
+2084 -23

No files matched your search

@@ -71,7 +71,7 @@ namespace NadekoBot.Modules.Permissions.Services
{
using (var uow = _db.UnitOfWork)
{
var bc = uow.BotConfig.GetOrCreate();
var bc = uow.BotConfig.GetOrCreate(set => set);
var log = LogManager.GetCurrentClassLogger();
if (bc.PermissionVersion <= 1)
{