Fixed empty message edits?

This commit is contained in:
Kwoth committed 2016-12-23 04:51:14 +01:00
1 parent 4aaeba34a0
commit 85350657be
1 file changed
+3
@@ -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