Forgot to cache if SetSettings is used

This commit is contained in:
Master Kwoth 2017-05-15 16:05:52 +02:00
parent 0587189963
commit 87983d97c3

View File

@ -67,6 +67,9 @@ namespace NadekoBot.Services
conf.SendChannelByeMessage = settings.SendChannelByeMessage;
await uow.CompleteAsync().ConfigureAwait(false);
var toAdd = GreetSettings.Create(conf);
GuildConfigsCache.AddOrUpdate(guildId, toAdd, (key, old) => toAdd);
}
return true;