mirror of
https://gitlab.com/Kwoth/nadekobot.git
synced 2025-09-10 17:28:27 -04:00
Fixed -c GlobalNadeko compilation
This commit is contained in:
@@ -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")
|
||||||
|
@@ -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)
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user