small woopsie
This commit is contained in:
parent
919385cd0e
commit
a58d47758d
@ -84,7 +84,8 @@ namespace NadekoBot.Modules.Permissions
|
|||||||
foreach (var oc in oldCache)
|
foreach (var oc in oldCache)
|
||||||
{
|
{
|
||||||
if (i % 3 == 0)
|
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 gc = uow.GuildConfigs.For(oc.Key, set => set.Include(x => x.Permissions));
|
||||||
|
|
||||||
var oldPerms = oc.Value.RootPermission.AsEnumerable().Reverse().ToList();
|
var oldPerms = oc.Value.RootPermission.AsEnumerable().Reverse().ToList();
|
||||||
|
Loading…
Reference in New Issue
Block a user