Merge pull request #62 from Kwoth/dev

Fixed empty log spam
This commit is contained in:
samvaio 2017-01-16 18:54:38 +05:30 committed by GitHub
commit c86c6f088a

View File

@ -397,6 +397,8 @@ namespace NadekoBot.Modules.Administration
.AddField(efb => efb.WithName("Old Topic").WithValue(beforeTextChannel.Topic)) .AddField(efb => efb.WithName("Old Topic").WithValue(beforeTextChannel.Topic))
.AddField(efb => efb.WithName("New Topic").WithValue(afterTextChannel.Topic)); .AddField(efb => efb.WithName("New Topic").WithValue(afterTextChannel.Topic));
} }
else
return;
await logChannel.EmbedAsync(embed).ConfigureAwait(false); await logChannel.EmbedAsync(embed).ConfigureAwait(false);
} }