Fixed empty message edits?

This commit is contained in:
Kwoth 2016-12-23 04:51:14 +01:00
parent 4aaeba34a0
commit 85350657be

View File

@ -514,6 +514,9 @@ namespace NadekoBot.Modules.Administration
if (channel == null)
return Task.CompletedTask;
if (before.Content == after.Content)
return Task.CompletedTask;
LogSetting logSetting;
if (!GuildLogSettings.TryGetValue(channel.Guild.Id, out logSetting)
|| !logSetting.IsLogging