Main: Don't delete connection index on close cmd

This commit is contained in:
mkwcat
2024-05-09 22:04:44 -04:00
parent 2c137ed7f3
commit 3c5c165229

View File

@@ -542,8 +542,6 @@ func (r *RPCFrontendPacket) CloseConnection(args RPCFrontendPacket, _ *struct{})
return ErrBadIndex
}
delete(connections[args.Server], args.Index)
return (*conn).Close()
}