server: change error

This commit is contained in:
aler9
2021-11-06 12:37:41 +01:00
parent ee767bfdef
commit 1a59346356
2 changed files with 5 additions and 5 deletions

View File

@@ -305,7 +305,7 @@ func (ss *ServerSession) run() {
*ss.setuppedTransport == TransportTCP {
// close if there are no associated connections
if len(ss.conns) == 0 {
return liberrors.ErrServerSessionNoAssociatedConns{}
return liberrors.ErrServerSessionNotInUse{}
}
}