mirror of
https://github.com/ScuroNeko/mtg.git
synced 2026-08-31 16:44:03 +03:00
Correct initialization of antireplay cache
This commit is contained in:
+1
-3
@@ -60,9 +60,7 @@ func Proxy() error {
|
||||
|
||||
PrintJSONStdout(config.GetURLs())
|
||||
|
||||
if err := antireplay.Init(); err != nil {
|
||||
Fatal(err)
|
||||
}
|
||||
antireplay.Init()
|
||||
if err := stats.Init(ctx); err != nil {
|
||||
Fatal(err)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user