From 5d6a0eb152cfc923f120c2cb2b9341f7466a3f7f Mon Sep 17 00:00:00 2001 From: Nikolay Kochulin Date: Sat, 21 Sep 2019 14:32:51 +0000 Subject: [PATCH] Update perfusion --- JetKarmaBot/Services/Localization.cs | 1 - JetKarmaBot/Services/LogInfo.cs | 2 ++ perfusion | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/JetKarmaBot/Services/Localization.cs b/JetKarmaBot/Services/Localization.cs index 9843dfb..46d4a80 100644 --- a/JetKarmaBot/Services/Localization.cs +++ b/JetKarmaBot/Services/Localization.cs @@ -14,7 +14,6 @@ namespace JetKarmaBot { private Dictionary locales = new Dictionary(); - [Inject] public Localization(IContainer c) { c.ResolveObject(this); diff --git a/JetKarmaBot/Services/LogInfo.cs b/JetKarmaBot/Services/LogInfo.cs index 96c9363..6a55117 100644 --- a/JetKarmaBot/Services/LogInfo.cs +++ b/JetKarmaBot/Services/LogInfo.cs @@ -7,6 +7,8 @@ namespace JetKarmaBot { public class LogInfo : ObjectInfo { + public override ObjectInfo Clone() => new LogInfo(); + public override object GetInstance(IContainer c, Type requester = null) { return LogManager.GetLogger(requester != null ? getTypeName(requester) : ""); diff --git a/perfusion b/perfusion index 036e4c6..5913a7e 160000 --- a/perfusion +++ b/perfusion @@ -1 +1 @@ -Subproject commit 036e4c67275e859207feee215cf87d614e7198d2 +Subproject commit 5913a7e44f7e9ac63a5bfd04c837a9968cf1fe88