From b5867fa87005eae3fb11989e1660c197487445ea Mon Sep 17 00:00:00 2001 From: Master Kwoth Date: Tue, 31 Oct 2017 08:10:35 +0100 Subject: [PATCH] completely ignore log stuff on public nadeko --- NadekoBot.Core/Modules/Administration/LogCommands.cs | 2 ++ .../Modules/Administration/Services/LogCommandService.cs | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/NadekoBot.Core/Modules/Administration/LogCommands.cs b/NadekoBot.Core/Modules/Administration/LogCommands.cs index 2738a5de..83d5b27d 100644 --- a/NadekoBot.Core/Modules/Administration/LogCommands.cs +++ b/NadekoBot.Core/Modules/Administration/LogCommands.cs @@ -14,6 +14,7 @@ using static NadekoBot.Modules.Administration.Services.LogCommandService; namespace NadekoBot.Modules.Administration { +#if !GLOBAL_NADEKO public partial class Administration { [Group] @@ -180,4 +181,5 @@ namespace NadekoBot.Modules.Administration } } } +#endif } \ No newline at end of file diff --git a/NadekoBot.Core/Modules/Administration/Services/LogCommandService.cs b/NadekoBot.Core/Modules/Administration/Services/LogCommandService.cs index f1d6c2ad..1d1c1f4d 100644 --- a/NadekoBot.Core/Modules/Administration/Services/LogCommandService.cs +++ b/NadekoBot.Core/Modules/Administration/Services/LogCommandService.cs @@ -12,11 +12,10 @@ using NadekoBot.Core.Services; using NadekoBot.Core.Services.Database.Models; using NadekoBot.Core.Services.Impl; using NLog; -using NadekoBot.Common; namespace NadekoBot.Modules.Administration.Services { - [NoPublicBot] +#if !GLOBAL_NADEKO public class LogCommandService : INService { @@ -1024,4 +1023,5 @@ namespace NadekoBot.Modules.Administration.Services } } } +#endif }