From a58d47758d8ae0eb711a6f2f29f437d201b8c815 Mon Sep 17 00:00:00 2001 From: Kwoth Date: Thu, 9 Mar 2017 01:22:17 +0100 Subject: [PATCH] small woopsie --- src/NadekoBot/Modules/Permissions/Permissions.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/NadekoBot/Modules/Permissions/Permissions.cs b/src/NadekoBot/Modules/Permissions/Permissions.cs index 4cebe2dc..93186fb9 100644 --- a/src/NadekoBot/Modules/Permissions/Permissions.cs +++ b/src/NadekoBot/Modules/Permissions/Permissions.cs @@ -84,7 +84,8 @@ namespace NadekoBot.Modules.Permissions foreach (var oc in oldCache) { if (i % 3 == 0) - log.Info("Migrating Permissions #" + ++i + " - GuildId: " + oc.Key); + log.Info("Migrating Permissions #" + i + " - GuildId: " + oc.Key); + i++; var gc = uow.GuildConfigs.For(oc.Key, set => set.Include(x => x.Permissions)); var oldPerms = oc.Value.RootPermission.AsEnumerable().Reverse().ToList();