From bd6435c982d1fc07ebfd831fc756fcf1106f4bb2 Mon Sep 17 00:00:00 2001 From: Tank Date: Tue, 12 May 2020 15:55:35 +0800 Subject: [PATCH] fix: frps plugin manager (#1803) --- models/plugin/server/manager.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/models/plugin/server/manager.go b/models/plugin/server/manager.go index 559dae9e..e7932428 100644 --- a/models/plugin/server/manager.go +++ b/models/plugin/server/manager.go @@ -52,7 +52,7 @@ func (m *Manager) Register(p Plugin) { m.pingPlugins = append(m.pingPlugins, p) } if p.IsSupport(OpNewWorkConn) { - m.pingPlugins = append(m.pingPlugins, p) + m.newWorkConnPlugins = append(m.newWorkConnPlugins, p) } if p.IsSupport(OpNewUserConn) { m.newUserConnPlugins = append(m.newUserConnPlugins, p)