fixed .log command not showing

This commit is contained in:
Master Kwoth committed 2017-10-17 07:03:56 +02:00
1 parent f155619793
commit 5e267435d4
6 files changed
+55 -21

No files matched your search

@@ -950,7 +950,7 @@ namespace NadekoBot.Modules.Administration.Services
break;
}
if (!id.HasValue)
if (!id.HasValue || id == 0)
{
UnsetLogSetting(guild.Id, logChannelType);
return null;