mirror of
https://github.com/Jetsparrow/karmabot.git
synced 2026-01-21 09:06:09 +03:00
Use now perfusion commit
This commit is contained in:
parent
6fb4fdf544
commit
8918d576c4
@ -127,7 +127,8 @@ namespace JetKarmaBot
|
||||
#endregion
|
||||
|
||||
#region service
|
||||
public Db([Inject(true)]Config cfg)
|
||||
[Inject]
|
||||
public Db(Config cfg)
|
||||
{
|
||||
Log("Initializing...");
|
||||
Conn = new MySqlConnection(cfg.ConnectionString);
|
||||
|
||||
@ -16,7 +16,8 @@ namespace JetKarmaBot
|
||||
private string currentFile;
|
||||
private Dictionary<string, string> currentLocalization;
|
||||
|
||||
public Localization([Inject(true)]Config cfg)
|
||||
[Inject]
|
||||
public Localization(Config cfg)
|
||||
{
|
||||
Log("Initializing...");
|
||||
currentFile = cfg.Language;
|
||||
|
||||
@ -1 +1 @@
|
||||
Subproject commit 9a30df6d6e6573c901e4f792cbd08308ba1100a9
|
||||
Subproject commit f60e82ae937afe4d0073daf86c53b04406d4929c
|
||||
Loading…
Reference in New Issue
Block a user