Some refactorings for telegram package

This commit is contained in:
9seconds
2019-10-08 14:08:34 +03:00
parent 6c7edfb7db
commit 3ae69183aa
6 changed files with 45 additions and 37 deletions
+1 -1
View File
@@ -65,7 +65,7 @@ func Proxy() error {
if err := stats.Init(ctx); err != nil {
Fatal(err)
}
telegram.MiddleInit()
telegram.Init()
proxyListener, err := net.Listen("tcp", config.C.Bind.String())
if err != nil {