From 7f07508c7c4e9d9afb323af50b61c18c39ee6c43 Mon Sep 17 00:00:00 2001 From: Kwoth Date: Thu, 16 Mar 2017 12:31:57 +0100 Subject: [PATCH] Permissions bugs fixed? --- src/NadekoBot/Modules/Permissions/Permissions.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/NadekoBot/Modules/Permissions/Permissions.cs b/src/NadekoBot/Modules/Permissions/Permissions.cs index 837bea9d..ce04f75c 100644 --- a/src/NadekoBot/Modules/Permissions/Permissions.cs +++ b/src/NadekoBot/Modules/Permissions/Permissions.cs @@ -161,7 +161,7 @@ namespace NadekoBot.Modules.Permissions { using (var uow = DbHandler.UnitOfWork()) { - var config = uow.GuildConfigs.For(Context.Guild.Id, set => set); + var config = uow.GuildConfigs.For(Context.Guild.Id, set => set.Include(x => x.Permissions)); config.VerbosePermissions = action.Value; await uow.CompleteAsync().ConfigureAwait(false); UpdateCache(config);