fix: frps plugin manager (#1803)

This commit is contained in:
Tank 2020-05-12 15:55:35 +08:00 committed by GitHub
parent 591023a1f0
commit bd6435c982
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -52,7 +52,7 @@ func (m *Manager) Register(p Plugin) {
m.pingPlugins = append(m.pingPlugins, p) m.pingPlugins = append(m.pingPlugins, p)
} }
if p.IsSupport(OpNewWorkConn) { if p.IsSupport(OpNewWorkConn) {
m.pingPlugins = append(m.pingPlugins, p) m.newWorkConnPlugins = append(m.newWorkConnPlugins, p)
} }
if p.IsSupport(OpNewUserConn) { if p.IsSupport(OpNewUserConn) {
m.newUserConnPlugins = append(m.newUserConnPlugins, p) m.newUserConnPlugins = append(m.newUserConnPlugins, p)