Update perfusion

This commit is contained in:
Basique Evangelist 2019-09-21 14:32:51 +00:00
parent 85125a46f1
commit 0759fe2af6
Signed by untrusted user: BasiqueEvangelist
GPG Key ID: B370219149301706
3 changed files with 3 additions and 2 deletions

View File

@ -14,7 +14,6 @@ namespace JetKarmaBot
{ {
private Dictionary<string, Locale> locales = new Dictionary<string, Locale>(); private Dictionary<string, Locale> locales = new Dictionary<string, Locale>();
[Inject]
public Localization(IContainer c) public Localization(IContainer c)
{ {
c.ResolveObject(this); c.ResolveObject(this);

View File

@ -7,6 +7,8 @@ namespace JetKarmaBot
{ {
public class LogInfo : ObjectInfo public class LogInfo : ObjectInfo
{ {
public override ObjectInfo Clone() => new LogInfo();
public override object GetInstance(IContainer c, Type requester = null) public override object GetInstance(IContainer c, Type requester = null)
{ {
return LogManager.GetLogger(requester != null ? getTypeName(requester) : "<type unspecified>"); return LogManager.GetLogger(requester != null ? getTypeName(requester) : "<type unspecified>");

@ -1 +1 @@
Subproject commit 036e4c67275e859207feee215cf87d614e7198d2 Subproject commit 5913a7e44f7e9ac63a5bfd04c837a9968cf1fe88