fixed .log command not showing

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

View File

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