mirror of
https://github.com/ScuroNeko/mtg.git
synced 2026-09-01 10:44:02 +03:00
bug fixes
This commit is contained in:
@@ -42,10 +42,3 @@ func (r *registry) getChannel(id conntypes.ConnID) (*ctxChannel, bool) {
|
||||
}
|
||||
return nil, false
|
||||
}
|
||||
|
||||
func InitRegistry(ctx context.Context) {
|
||||
Registry = ®istry{
|
||||
ctx: ctx,
|
||||
conns: map[string]*ctxChannel{},
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user