Fixed -c GlobalNadeko compilation

This commit is contained in:
Kwoth
2022-10-01 08:52:29 +02:00
parent a5b2fac69c
commit a294e3bf8f
2 changed files with 3 additions and 4 deletions

View File

@@ -116,10 +116,6 @@ public sealed class Bot
// cache // cache
.AddCache(_creds); .AddCache(_creds);
// admin
#if GLOBAL_NADEKO
svcs.AddSingleton<ILogCommandService, DummyLogCommandService>();
#endif
svcs.AddHttpClient(); svcs.AddHttpClient();
svcs.AddHttpClient("memelist") svcs.AddHttpClient("memelist")

View File

@@ -3,6 +3,9 @@
namespace NadekoBot.Modules.Administration; namespace NadekoBot.Modules.Administration;
public sealed class DummyLogCommandService : ILogCommandService public sealed class DummyLogCommandService : ILogCommandService
#if GLOBAL_NADEKO
, INservice
#endif
{ {
public void AddDeleteIgnore(ulong xId) public void AddDeleteIgnore(ulong xId)
{ {