forked from External/ergo
fix #1050
This commit is contained in:
parent
4cadb7ad58
commit
01bd04a8ff
6 changed files with 45 additions and 32 deletions
|
|
@ -1646,7 +1646,7 @@ func (client *Client) attemptAutoOper(session *Session) {
|
|||
return
|
||||
}
|
||||
for _, oper := range client.server.Config().operators {
|
||||
if oper.Auto && oper.Pass == nil && oper.Fingerprint != "" && oper.Fingerprint == session.certfp {
|
||||
if oper.Auto && oper.Pass == nil && oper.Certfp != "" && oper.Certfp == session.certfp {
|
||||
rb := NewResponseBuffer(session)
|
||||
applyOper(client, oper, rb)
|
||||
rb.Send(true)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue