Fixed empty log spam

This commit is contained in:
Kwoth 2017-01-16 14:15:24 +01:00
parent 8593127b1b
commit 42f7cc9a31

View File

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